Documentation ¶
Index ¶
- Constants
- func MaybeFGet(file *os.File, name string) ([]byte, bool)
- func MaybeFSet(file *os.File, name string, value []byte)
- type Bits
- type MD5Sum
- type Metadata
- func (meta Metadata) Append(out []byte) []byte
- func (meta Metadata) Check(size int64, modTime int64) bool
- func (meta *Metadata) Compute(file *os.File, size int64, modTime int64) bool
- func (meta *Metadata) Decode(input []byte) bool
- func (meta *Metadata) Load(file *os.File, names Names) bool
- func (meta *Metadata) Reset()
- func (meta Metadata) Save(file *os.File, names Names)
- func (meta Metadata) String() string
- type Names
- type SHA1Sum
- type SHA256Sum
Constants ¶
View Source
const AllBits = Bits(1<<NumBits) - 1
View Source
const NumBits = 5
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Names ¶
func DefaultNames ¶
func DefaultNames() Names
Click to show internal directories.
Click to hide internal directories.