Skip to content

How to detect if something is a repo #47

@nomeata

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions