Skip to content

How to detect if something is a repo #47

Description

@nomeata

Hi,

I’d like to check if a given directory is a git repository, and if so, if it is a bare repository. Can do I do that using gitlib / gitlib-libgit2?

Thanks,
Joachim

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions