Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KarstNUTBundleJSON []byte
KarstNUTBundleJSON is the embedded Karst NUT bundle.
Functions ¶
func LockFilePath ¶
LockFilePath returns the absolute path to fork_lock.toml relative to the given directory.
func WriteLockFile ¶
WriteLockFile writes fork_lock.toml back to disk with a header comment.
Types ¶
type ForkLock ¶
type ForkLock map[string]ForkLockEntry
ForkLock is the full contents of fork_lock.toml, keyed by fork name.
type ForkLockEntry ¶
type ForkLockEntry struct {
Bundle string `toml:"bundle"`
Hash string `toml:"hash"`
Commit string `toml:"commit"`
}
ForkLockEntry represents a single fork's entry in fork_lock.toml.
Click to show internal directories.
Click to hide internal directories.