Versions in this module Expand all Collapse all v1 v1.0.2 Nov 19, 2026 v1.0.1 Nov 18, 2026 v1.0.0 Nov 18, 2026 Changes in this version + const DefaultCutoff + const ListLimit + const MinPathLength + const Version + var Objects string + var Queries string + func Create(ctx context.Context, conn sqlite.Conn) error + func FormatSize(size int64) string + func NewQueries() (*sqlite.Queries, error) + type Artwork []byte + func (a *Artwork) Scan(row sqlite.Row) error + type ArtworkID int64 + func (id ArtworkID) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type IndexVolumeRequest struct + Path string + Recursive bool + Reindex bool + type Object struct + ID int64 + Indexed time.Time + Kind string + Meta map[string]any + ModTime time.Time + Path string + Rank *float64 + Run int64 + Size int64 + Title string + Type string + Volume int64 + func (o *Object) Scan(row sqlite.Row) error + func (o Object) Cell(col int) tui.CellText + func (o Object) Header() []string + func (o Object) String() string + func (o Object) Width(int) int + type ObjectID int64 + func (id ObjectID) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type ObjectList struct + Body []Object + Count uint64 + func (l *ObjectList) Scan(row sqlite.Row) error + func (l *ObjectList) ScanCount(row sqlite.Row) error + func (o ObjectList) String() string + type ObjectListRequest struct + Cutoff *float64 + Order Order + Query *string + Types []string + Volumes []int64 + func (r *ObjectListRequest) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type ObjectMark struct + ModTime time.Time + Path string + Run int64 + Size int64 + Volume int64 + func (m ObjectMark) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type ObjectMeta struct + Artwork []byte + Kind string + Meta map[string]any + ModTime time.Time + Path string + Run int64 + Size int64 + Text string + Title string + Type string + Volume int64 + func (o ObjectMeta) Insert(bind *sqlite.Bind) (string, error) + func (o ObjectMeta) Update(*sqlite.Bind) error + type ObjectPath string + func (p ObjectPath) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type ObjectSweep struct + Run int64 + Volume int64 + func (s ObjectSweep) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type Order string + const OrderDate + const OrderPath + const OrderRank + const OrderSize + const OrderTitle + type Progress struct + Current string + Files uint64 + Finished *time.Time + Indexed uint64 + Marked uint64 + Path string + Reindex bool + Run int64 + Started time.Time + Swept uint64 + Total uint64 + Volume int64 + type Status string + const StatusFailed + const StatusIndexed + const StatusIndexing + const StatusNew + type Volume struct + Error string + Finished *time.Time + ID int64 + Objects uint64 + Path string + Reader string + Run int64 + Started *time.Time + Status Status + func (v *Volume) Scan(row sqlite.Row) error + func (v Volume) Cell(col int) tui.CellText + func (v Volume) Header() []string + func (v Volume) String() string + func (v Volume) Width(int) int + type VolumeFinish struct + Error error + Finished time.Time + Reader string + Run int64 + func (VolumeFinish) Insert(*sqlite.Bind) (string, error) + func (f VolumeFinish) Update(bind *sqlite.Bind) error + type VolumeID int64 + func (id VolumeID) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type VolumeList struct + Body []Volume + Count uint64 + func (l *VolumeList) Scan(row sqlite.Row) error + func (l *VolumeList) ScanCount(row sqlite.Row) error + func (v VolumeList) String() string + type VolumeListRequest struct + func (r *VolumeListRequest) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type VolumeMeta struct + Path string + func (v VolumeMeta) Insert(bind *sqlite.Bind) (string, error) + func (v VolumeMeta) Update(*sqlite.Bind) error + type VolumePath string + func (p VolumePath) Select(bind *sqlite.Bind, op sqlite.Op) (string, error) + type VolumeStart struct + Started time.Time + func (VolumeStart) Insert(*sqlite.Bind) (string, error) + func (s VolumeStart) Update(bind *sqlite.Bind) error