autoformat.git

Members

Functions

gitConfigValue
Optional!string gitConfigValue(string c)
Undocumented in source. Be warned that the author may not have intended to support it.
gitHead
GitHash gitHead()
Undocumented in source. Be warned that the author may not have intended to support it.
gitHookPath
Optional!AbsolutePath gitHookPath(AbsolutePath repo)
Undocumented in source. Be warned that the author may not have intended to support it.
gitPathToRoot
Optional!AbsolutePath gitPathToRoot()

Path to the root of the git archive from current.

gitPathToTrueRoot
Optional!AbsolutePath gitPathToTrueRoot()

Resolves the path to the git directory. Not necessarily the same as the root. Useful for finding the root of a hierarchy of submodules.

isGitRepo
bool isGitRepo()

If the current working directory is a git repo

isGitRoot
bool isGitRoot(AbsolutePath arg_p)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

GitHash
struct GitHash
Undocumented in source.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This file contains functions for git repos.