Versions in this module Expand all Collapse all v1 v1.8.1 Feb 20, 2025 v1.8.0 Feb 4, 2025 Changes in this version + func NewSizeTrackerComponent() internal.Component + type MountSize struct + func CreateSizeJournal(filename string) (*MountSize, error) + func (ms *MountSize) Add(delta uint64) uint64 + func (ms *MountSize) CloseFile() error + func (ms *MountSize) GetSize() uint64 + func (ms *MountSize) Subtract(delta uint64) uint64 + type SizeTracker struct + func (st *SizeTracker) CommitData(opt internal.CommitDataOptions) error + func (st *SizeTracker) Configure(_ bool) error + func (st *SizeTracker) CopyFromFile(options internal.CopyFromFileOptions) error + func (st *SizeTracker) CreateFile(options internal.CreateFileOptions) (*handlemap.Handle, error) + func (st *SizeTracker) DeleteFile(options internal.DeleteFileOptions) error + func (st *SizeTracker) FlushFile(options internal.FlushFileOptions) error + func (st *SizeTracker) Name() string + func (st *SizeTracker) OnConfigChange() + func (st *SizeTracker) Priority() internal.ComponentPriority + func (st *SizeTracker) RenameDir(options internal.RenameDirOptions) error + func (st *SizeTracker) RenameFile(options internal.RenameFileOptions) error + func (st *SizeTracker) SetName(name string) + func (st *SizeTracker) SetNextComponent(nc internal.Component) + func (st *SizeTracker) Start(ctx context.Context) error + func (st *SizeTracker) StatFs() (*common.Statfs_t, bool, error) + func (st *SizeTracker) Stop() error + func (st *SizeTracker) TruncateFile(options internal.TruncateFileOptions) error + func (st *SizeTracker) WriteFile(options internal.WriteFileOptions) (int, error) + type SizeTrackerOptions struct + JournalName string