Versions in this module Expand all Collapse all v1 v1.7.9 Oct 27, 2019 Changes in this version + const BackupFilePattern + const Metafile + const PortableFileNamePattern + const Suffix + func DBRetentionAndShardFromPath(path string) (db, retention, shard string, err error) + func GetMetaBytes(fname string) ([]byte, error) + type CountingWriter struct + Total int64 + func (w *CountingWriter) Write(p []byte) (n int, err error) + type Entry struct + Database string + FileName string + LastModified int64 + Policy string + ShardID uint64 + Size int64 + func (e *Entry) SizeOrZero() int64 + type Manifest struct + Database string + Files []Entry + Limited bool + Meta MetaEntry + Policy string + ShardID uint64 + func (m *Manifest) Size() int64 + func (manifest *Manifest) Save(filename string) error + type MetaEntry struct + FileName string + Size int64 + func LoadIncremental(dir string) (*MetaEntry, map[uint64]*Entry, error) + type PortablePacker struct + Data []byte + MaxNodeID uint64 + func (ep *PortablePacker) UnmarshalBinary(data []byte) error + func (ep PortablePacker) MarshalBinary() ([]byte, error)