Documentation ¶
Index ¶
- Constants
- func LoadConf(confPath string, confToml *ConfToml) error
- func PrintPagesStat(fpath string, fsize int64)
- func PrintVersion(name string)
- func RunPurgePages(path string, fsize int64, rate float64, verbose bool) error
- func ValidateConf(confToml *ConfToml) error
- func WalkPrintPagesStat(path string, re *regexp.Regexp) error
- func WalkPurgePages(path string, re *regexp.Regexp, rate float64, verbose bool) error
- type ConfToml
- type SectionTarget
Constants ¶
View Source
const ( Version = "0.3.11" Cachectl = "cachectl" Cachectld = "cachectld" )
Variables ¶
This section is empty.
Functions ¶
func PrintPagesStat ¶
func PrintVersion ¶
func PrintVersion(name string)
func ValidateConf ¶
func WalkPrintPagesStat ¶ added in v0.1.1
Types ¶
type ConfToml ¶
type ConfToml struct {
Targets []SectionTarget `toml:"targets"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.