package
1.4.0
Repository: https://github.com/linuxdeepin/aptly.git
Documentation: pkg.go.dev

# Functions

ChecksumsForFile generates size, MD5, SHA1 & SHA256 checksums for given file.
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.
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.
SaveConfig write configuration to json file.
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

Config is configuration for aptly, shared by all modules.

# Structs

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.
FileSystemPublishRoot describes single filesystem publishing entry point.
S3PublishRoot describes single S3 publishing entry point.
SwiftPublishRoot describes single OpenStack Swift publishing entry point.