Versions in this module Expand all Collapse all v0 v0.8.0 Nov 20, 2022 Changes in this version + const OS_ALL_R + const OS_ALL_RW + const OS_ALL_RWX + const OS_ALL_W + const OS_ALL_X + const OS_EX + const OS_GROUP_R + const OS_GROUP_RW + const OS_GROUP_RWX + const OS_GROUP_SHIFT + const OS_GROUP_W + const OS_GROUP_X + const OS_OTH_R + const OS_OTH_RW + const OS_OTH_RWX + const OS_OTH_SHIFT + const OS_OTH_W + const OS_OTH_X + const OS_READ + const OS_USER_R + const OS_USER_RW + const OS_USER_RWX + const OS_USER_SHIFT + const OS_USER_W + const OS_USER_X + const OS_WRITE + func Diff(a nilList, b nilList) nilList + func ParseFileMode(input string) (os.FileMode, error) + type FileInfo struct + func MakeFileInfo(mode os.FileMode, size int64, mtime time.Time, name string, id, metadata c4.ID) *FileInfo + func NewFileInfo(info os.FileInfo, ids ...c4.ID) *FileInfo + func ParseFileInfo(line string) (*FileInfo, error) + func (i *FileInfo) ID() c4.ID + func (i *FileInfo) IsDir() bool + func (i *FileInfo) MarshalJson() ([]byte, error) + func (i *FileInfo) Metadata() c4.ID + func (i *FileInfo) MkString(sizepadding, namepadding int) infoStringer + func (i *FileInfo) ModTime() time.Time + func (i *FileInfo) Mode() os.FileMode + func (i *FileInfo) Name() string + func (i *FileInfo) Size() int64 + func (i *FileInfo) Sys() interface{} + func (i *FileInfo) UnmarshalJson(data []byte) error + type M map[string]*FileInfo + func NewManifest() *M + func (mm *M) Get(path string) *FileInfo + func (mm *M) Len() int + func (mm *M) Marshal() ([]byte, error) + func (mm *M) Paths() []string + func (mm *M) SetFileInfo(path string, info os.FileInfo) + func (mm *M) SetId(path string, id c4.ID) + func (mm *M) SetMetadata(path string, id c4.ID) + func (mm *M) Unmarshal(r io.Reader) error + type MDB struct + Db *bolt.DB + func NewDb(db *bolt.DB, storagepath string) *MDB