# Functions
DirSync calls fsync(2) on the directory to save changes in the directory.
DirSyncTree calls DirSync recursively on a directory tree rooted from d.
NewConfig creates Config with default values.
NewMirror constructs a Mirror for given mirror id.
NewStorage constructs Storage.
Run starts mirroring.
# Structs
Config is a struct to read TOML configurations.
Flock is a simple wrapper around *os.File to call flock(2).
MirrConfig is an auxiliary struct for Config.
Mirror implements mirroring logics.
Storage manages a directory tree that mirrors a Debian repository.