Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidNarURL is returned if the regexp did not match the given URL. ErrInvalidNarURL = errors.New("invalid nar URL") )
View Source
var ErrInvalidSizeSuffix = errors.New("invalid size suffix")
ErrInvalidSizeSuffix is returned if the suffix is not valid.
Functions ¶
func MustRandString ¶ added in v0.0.11
MustRandString returns the string returned by RandString. If RandString returns an error, it will panic.
func NarInfoPath ¶
NarInfoPath returns the path of the narinfo file given a hash.
func ParseNarURL ¶ added in v0.0.2
ParseNarURL parses a nar URL (as present in narinfo) and returns its components.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.