Versions in this module Expand all Collapse all v0 v0.1.1 May 17, 2023 Changes in this version + const InvalidSID + var Version string + type Fhd struct + func New(filename string) (*Fhd, error) + func (me *Fhd) Close() error + func (me *Fhd) Compact() error + func (me *Fhd) Delete(sid SID, filename string) error + func (me *Fhd) Dump() error + func (me *Fhd) DumpTo(writer io.Writer) error + func (me *Fhd) Extract(filename string, writer io.Writer) error + func (me *Fhd) ExtractFile(filename string) (string, error) + func (me *Fhd) ExtractFileForSid(sid SID, filename string) (string, error) + func (me *Fhd) ExtractForSid(sid SID, filename string, writer io.Writer) error + func (me *Fhd) FileFormat() (int, error) + func (me *Fhd) Filename() string + func (me *Fhd) Ignore(filenames ...string) error + func (me *Fhd) Ignored() ([]string, error) + func (me *Fhd) Monitor(filenames ...string) (SaveResult, error) + func (me *Fhd) MonitorWithComment(comment string, filenames ...string) (SaveResult, error) + func (me *Fhd) Monitored() ([]*StateItem, error) + func (me *Fhd) Purge(filename string) error + func (me *Fhd) Rename(oldFilename, newFilename string) (SaveResult, error) + func (me *Fhd) Save(comment string) (SaveResult, error) + func (me *Fhd) SaveCount() int + func (me *Fhd) SaveCountForSid(sid SID) int + func (me *Fhd) SaveInfoItemForSid(sid SID) SaveInfoItem + func (me *Fhd) Sid() SID + func (me *Fhd) Sids() ([]SID, error) + func (me *Fhd) SidsForFilename(filename string) ([]SID, error) + func (me *Fhd) StateForFilename(filename string) (StateVal, error) + func (me *Fhd) States() ([]*StateItem, error) + func (me *Fhd) String() string + func (me *Fhd) Unignore(filenames ...string) error + func (me *Fhd) Unmonitor(filenames ...string) error + func (me *Fhd) Unmonitored() ([]*StateItem, error) + type SID uint32 + func (me SID) IsValid() bool + type SaveInfoItem struct + Sid SID + func (me *SaveInfoItem) IsValid() bool + func (me *SaveInfoItem) String() string + type SaveInfoVal struct + Comment string + When time.Time + type SaveResult struct + IgnoredFiles gset.Set[string] + MissingFiles gset.Set[string] + type StateItem struct + Filename string + func (me StateItem) String() string + type StateVal struct + FileKind fileKind + LastSid SID + Monitored bool + func (me StateVal) String() string