Documentation ¶
Index ¶
Constants ¶
const ApplicationName string = "git-nest"
ApplicationName contains the name of the application used in e.g. cli commands
const ConfigFileName = "nestmodules.toml"
ConfigFileName contains the path string to the project-local git-nest configuration file.
const ConfigSubDirFileName = ".config/nestmodules.toml"
ConfigSubDirFileName contains the path string to the project-local git-nest configuration file in a .config subdirectory.
const LockFileContents = `` /* 139-byte string literal not displayed */
LockFileContents contains the contents of the lockfile in case someone opens it.
const LockFileName = "~git-nest.lock"
LockFileName contains the path string to the project-local lockfile.
Variables ¶
This section is empty.
Functions ¶
func CompilationTimestamp ¶
func CompilationTimestamp() int
CompilationTimestamp returns the binary's compilation time in form of a unix timestamp, which is injected by the build toolchain. -1 if no compilation time is set.
func EphemeralBuild ¶
func EphemeralBuild() bool
EphemeralBuild returns whether the compiled binary was created by `go run` or the git-nest toolchain. The toolchain injects a value at compile time that toggles the binary to be non-ephemeral.
Types ¶
This section is empty.