package
1.6.1
Repository: https://github.com/aptly-dev/aptly.git
Documentation: pkg.go.dev

# Functions

ChecksumsForFile generates size, MD5, SHA1 & SHA256 checksums for the file at the given path.
ChecksumsForReader generates size, MD5, SHA1 & SHA256 checksums for the given io.Reader.
CompressFile compresses file specified by source to .gz & .bz2 It uses internal gzip and external bzip2, see: https://code.google.com/p/go/issues/detail?id=4828.
CopyFile copeis file from src to dst, not preserving attributes.
DirIsAccessible verifies that directory exists and is accessible.
No description provided by the author
HumanBytes converts bytes to human readable string.
LoadConfig loads configuration from json file.
MD5ChecksumForFile computes just the MD5 hash and not all the others.
NewChecksumWriter creates checksum calculator for given writer w.
Remove leading '/', remove '..', '$' and '`'.
SaveConfig write configuration to json file.
SaveConfigRaw write configuration to file.
SaveConfigYAML write configuration to yaml file.
No description provided by the author
No description provided by the author
StringsIsSubset checks that subset is strict subset of full, and returns error formatted with errorFmt otherwise.
StrMapsEqual compares two map[string]string.
StrMapSortedKeys returns keys of map[string]string sorted.
StrSliceDeduplicate removes dups in slice.
StrSliceHasItem checks item for presence in slice.
StrSlicesEqual compares two slices for equality.
StrSlicesSubstract finds all the strings which are in l but not in r, both slices shoult be sorted.

# Variables

No description provided by the author
Config is configuration for aptly, shared by all modules.
No description provided by the author

# Structs

AzureEndpoint describes single Azure publishing entry point.
ChecksumInfo represents checksums for a single file.
ChecksumWriter is a writer that does checksum calculation on the fly passing data to real writer.
ConfigStructure is structure of main configuration.
DBConfig.
FileSystemPublishRoot describes single filesystem publishing entry point.
No description provided by the author
No description provided by the author
No description provided by the author
S3PublishRoot describes single S3 publishing entry point.
SwiftPublishRoot describes single OpenStack Swift publishing entry point.