more.repos

Undocumented in source.

Members

Functions

findRepo
Repo findRepo(string repoName, string path)

Find Repo Algorithm: 1. Check if you are inside a git repository, if you are get out. 2. search the given directory for sub directories with the same name as the repo. If the repo name matches, it checks if it is a repo, if it is, then the repo is found. 3. It checks for a file named "repos". If it exists it reads the file and searches to see if it contains the definition for the repo. 4. It goes through every parent directory checking the sub directories again for the repo name.

insideGitRepo
string insideGitRepo(string path)

Checks to see if the given path is inside a git repo. It does this by checking for the '.git' directory in the given directory and every parent directory.

Structs

Repo
struct Repo
Undocumented in source.
RepoSet
struct RepoSet
Undocumented in source.

Variables

gitDir
auto gitDir;
Undocumented in source.
knownRepos
RepoSet knownRepos;
Undocumented in source.

Meta