Versions in this module Expand all Collapse all v0 v0.2.0 Mar 20, 2025 v0.1.0 Mar 20, 2025 Changes in this version + func CompareUUIDs(me t.UUIDer, them t.UUIDer) (bool, error) + func FindPathToGroup(source t.Group, target t.Group) (rv []t.Group, err error) + func FormatTime(t time.Time) (formatted string) + func GenerateFileHash(filename string) (hash string, err error) + type Attachment struct + func (a Attachment) FormattedValue(full bool) string + func (a Attachment) Output(showProtected bool) string + type Backend struct + func InitBackend(filename string) (*Backend, error) + func (b Backend) Filename() string + func (b Backend) Hash() string + func (b Backend) IsModified() (bool, error) + type Database struct + func (d *Database) Backend() t.Backend + func (d *Database) Backup() error + func (d *Database) BackupPath() string + func (d *Database) Changed() bool + func (d *Database) CurrentLocation() t.Group + func (d *Database) Lock() error + func (d *Database) Locked() bool + func (d *Database) Path() (string, error) + func (d *Database) RemoveBackup() error + func (d *Database) RestoreBackup() error + func (d *Database) SavePath() string + func (d *Database) Search(term *regexp.Regexp) (paths []string, err error) + func (d *Database) SetBackend(backend *Backend) + func (d *Database) SetChanged(changed bool) + func (d *Database) SetCurrentLocation(g t.Group) + func (d *Database) SetDriver(driver t.Database) + func (d *Database) SetSavePath(path string) + func (d *Database) Unlock() error + type Entry struct + func (e *Entry) DB() t.Database + func (e *Entry) Output(full bool) (val string) + func (e *Entry) Parent() t.Group + func (e *Entry) Path() (path string, err error) + func (e *Entry) Search(term *regexp.Regexp) (paths []string, err error) + func (e *Entry) SetDB(db t.Database) + func (e *Entry) SetDriver(entry t.Entry) + func (e *Entry) SetParent(g t.Group) error + type EntryValue struct + func NewValue(value []byte, name string, searchable bool, protected bool, readOnly bool, ...) EntryValue + func (v EntryValue) FormattedValue(full bool) string + func (v EntryValue) Name() string + func (v EntryValue) NameTitle() string + func (v EntryValue) Output(showProtected bool) string + func (v EntryValue) Protected() bool + func (v EntryValue) ReadOnly() bool + func (v EntryValue) Searchable() bool + func (v EntryValue) Type() t.ValueType + func (v EntryValue) Value() []byte + type Group struct + func (g *Group) DB() t.Database + func (g *Group) Path() (rv string, err error) + func (g *Group) Search(term *regexp.Regexp) (paths []string, err error) + func (g *Group) SetDB(d t.Database) + func (g *Group) SetDriver(gr t.Group)