Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSplitOnceFoundMultipleSeparators is returned if splitOnce encountered multiple separators in the string. ErrSplitOnceFoundMultipleSeparators = errors.New("found multiple separators in the string") // ErrSplitOnceFoundNoSeparators is returned if splitOnce encountered multiple separators in the string. ErrSplitOnceFoundNoSeparators = errors.New("found no separators in the string") )
View Source
var ErrUnknownKey = errors.New("error the key is not known")
ErrUnknownKey is returned if the nix-cache-info contains a key that is not known.
Functions ¶
This section is empty.
Types ¶
type NixCacheInfo ¶
NixCacheInfo represents the nix cache info parsed.
func Parse ¶
func Parse(r io.Reader) (NixCacheInfo, error)
Parse parses the NixCacheInfo from an io.Reader.
func ParseString ¶
func ParseString(nci string) (NixCacheInfo, error)
ParseString parser the NixCacheInfo from a string.
Click to show internal directories.
Click to hide internal directories.