Versions in this module Expand all Collapse all v0 v0.2.0 Oct 3, 2026 v0.1.0 Oct 1, 2026 Changes in this version + type Darwin struct + PartitionsFn func(all bool) ([]disk.PartitionStat, error) + UsageFn func(path string) (*disk.UsageStat, error) + func NewDarwinProvider(logger *slog.Logger) *Darwin + func (d *Darwin) GetLocalUsageStats() ([]Result, error) + type Debian struct + PartitionsFn func(all bool) ([]disk.PartitionStat, error) + UsageFn func(path string) (*disk.UsageStat, error) + func NewDebianProvider(logger *slog.Logger) *Debian + func (u *Debian) GetLocalUsageStats() ([]Result, error) + type Linux struct + func NewLinuxProvider() *Linux + func (l *Linux) GetLocalUsageStats() ([]Result, error) + type Provider interface + GetLocalUsageStats func() ([]Result, error) + type Result struct + Changed bool + Free uint64 + Name string + Total uint64 + Used uint64