Discover Packages
github.com/fenollp/locked
locked
package
Version:
v0.0.0-...-8faf709
Opens a new window with list of versions in this module.
Published: Dec 13, 2021
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Load looks for Lockfile in the current and parent directories and finally $XDG_CONFIG_HOME.
If the file exists (and is authorized), it is loaded and merged into FIXME
type T struct {
At string `hcl:"at,optional"`
Track []Track `hcl:"track,block"`
}
T is the root of a Lockfile
type Track struct {
Track string `hcl:"track,label"`
Use string `hcl:"use"`
Tracking []Tracking `hcl:"tracking,block"`
}
Track defines a rewriting rule
type Tracking struct {
Tracked string `hcl:"tracked,label"`
At string `hcl:"at"`
Gives string `hcl:"gives"`
}
Tracking represents the effect of a rule
Source Files
¶
Click to show internal directories.
Click to hide internal directories.