Documentation
¶
Overview ¶
© Ben Garrett https://github.com/bengarrett/dupers
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBucketAsFile = errors.New("bucket points to a file, not a directory") ErrBucketExists = errors.New("bucket already exists in the database") ErrBucketNotDir = errors.New("bucket path is not a directory") ErrBucketPath = errors.New("directory used by the bucket does not exist on your system") ErrBucketSkip = errors.New("bucket directory does not exist") ErrDB = errors.New("db database cannot be nil") )
Functions ¶
Types ¶
type Cleaner ¶
type Cleaner struct {
DB *bolt.DB // Bold database.
Abs string // Absolute path of the bucket.
Debug bool // Debug spams technobabble to stdout.
Quiet bool // Quiet the feedback sent to stdout.
Cnt int // Cnt is the sum of the items.
Total int // Total items handled.
Finds int // Finds is the sum of the cleaned items.
Errs int // Errs is the sum of the items that could not be cleaned.
}
Click to show internal directories.
Click to hide internal directories.