Documentation ¶
Index ¶
- func ChecksumToHash(cs checksum.ImmutableChecksum) metalink.Hash
- func CreateFromFiles(paths ...string) (*metalink.Metalink, error)
- func FromMetalinkHashType(algorithm string) (string, error)
- func HashToChecksum(hash metalink.Hash) checksum.ImmutableChecksum
- func HashesToChecksums(hashes []metalink.Hash) checksum.ImmutableChecksums
- func NewStaticArtifactLoader(path string) artifact.Loader
- func PreferredHash(hashes []metalink.Hash) metalink.Hash
- func ToMetalinkHashType(algorithm string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChecksumToHash ¶
func ChecksumToHash(cs checksum.ImmutableChecksum) metalink.Hash
func FromMetalinkHashType ¶
func HashToChecksum ¶
func HashToChecksum(hash metalink.Hash) checksum.ImmutableChecksum
func HashesToChecksums ¶
func HashesToChecksums(hashes []metalink.Hash) checksum.ImmutableChecksums
func NewStaticArtifactLoader ¶
func ToMetalinkHashType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.