Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_vcs_repo #19

krlmlr opened this issue Oct 29, 2016 · 1 comment


None yet
2 participants
Copy link

commented Oct 29, 2016

Consisting of:

  • is_git_repo
  • is_svn_repo

What other VCS are commonly used?


This comment has been minimized.

Copy link

commented Nov 8, 2016

Yes, please!

@krlmlr krlmlr closed this in 9b386e8 Jan 15, 2017

krlmlr added a commit that referenced this issue Jan 25, 2017

Merge tag 'v1.2'
- New root criteria
    - `is_projectile_project` recognize projectile projects (#21).
    - `has_dir()` constructs root criteria that check for existence of a directory.
    - `is_git_root`, `is_svn_root` and `is_vcs_root` look for a version control system root (#19).

- New function
    - `get_root_desc()` returns the description of the criterion that applies to a given root, useful for composite criteria created with `|`.

- Minor enhancements
    - Improve formatting of alternative criteria (#18).
    - If root cannot be found, the start path is shown in the error message.

- Internal
    - The `$testfun` member of the `rprojroot` S3 class is now a list of functions instead of a function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.