Documentation ¶ Index ¶ type FileMeta type Meta func Build(files []fsutil.FileRef, algo compressor.Algo, level string, aead cipher.AEAD, ...) (m *Meta, err error) type Plan func PlanBlocks(files []fsutil.FileRef, algo compressor.Algo, smartMode smart.Mode, ...) []Plan Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type FileMeta ¶ type FileMeta struct { Name string OrigSize int64 SHA [32]byte } type Meta ¶ type Meta struct { Files []FileMeta TempPath string PayloadLen int64 SHA [32]byte } func Build ¶ func Build(files []fsutil.FileRef, algo compressor.Algo, level string, aead cipher.AEAD, dict []byte, applyPreprocess bool) (m *Meta, err error) type Plan ¶ type Plan struct { Files []fsutil.FileRef Algo compressor.Algo LikelyIncompressible bool } func PlanBlocks ¶ func PlanBlocks(files []fsutil.FileRef, algo compressor.Algo, smartMode smart.Mode, targetSize int64) []Plan Source Files ¶ View all Source files block.go Click to show internal directories. Click to hide internal directories.