Documentation ¶
Overview ¶
© Ben Garrett https://github.com/bengarrett/dupers
Index ¶
- Variables
- func Check(term, cmd, name string) int
- func Export(db *bolt.DB, quiet bool, args [2]string) error
- func Import(db *bolt.DB, quiet, assumeYes bool, args [2]string) error
- func List(db *bolt.DB, quiet bool, args [2]string) error
- func Move(db *bolt.DB, c *dupe.Config, assumeYes bool, src, dest string) error
- func Remove(db *bolt.DB, quiet, assumeYes bool, args [2]string) error
- func Rescan(db *bolt.DB, c *dupe.Config, archives bool, args [2]string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDatabaseName = errors.New("database has no bucket with this name") ErrImport = errors.New("import filepath is missing") ErrNewName = errors.New("a new directory is required") ErrBucketNil = errors.New("bucket cannot be empty") ErrBucketEmpty = errors.New("bucket contains no files") )
Functions ¶
func Check ¶
Check prints the missing bucket name error. If an error exists an exit code will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.