GitSharp.Repository.IsValid C# (CSharp) Method

IsValid() public static method

Checks if the directory given by the path is a valid non-bare git repository. The given path may either point to the working directory or the repository's .git directory.
public static IsValid ( string path ) : bool
path string
return bool
        public static bool IsValid(string path)
        {
            return IsValid(path, false);
        }

Same methods

Repository::IsValid ( string path, bool bare ) : bool