Documentation ¶
Overview ¶
© Ben Garrett https://github.com/bengarrett/dupers
© Ben Garrett https://github.com/bengarrett/dupers
Index ¶
- Constants
- Variables
- func CleanupDB(db *bolt.DB, c *dupe.Config) error
- func Database(db *bolt.DB, c *dupe.Config, args ...string) error
- func DatabaseHelp(w io.Writer)
- func Debug(a *cmd.Aliases, f *cmd.Flags) (string, error)
- func Directories() error
- func Dupe(db *bolt.DB, c *dupe.Config, f *cmd.Flags, args ...string) error
- func DupeExample(w io.Writer)
- func DupeHelp(w io.Writer)
- func Help() string
- func HelpDatabase() string
- func HelpDupe() string
- func HelpSearch() string
- func ProgramOpts(w io.Writer)
- func Search(db *bolt.DB, f *cmd.Flags, test bool, args ...string) error
- func SearchExample(w io.Writer)
- func SearchHelp(w io.Writer)
- func SetStat(db *bolt.DB, c *dupe.Config, args ...string) error
- func StatSource(c *dupe.Config) error
- func WalkScan(db *bolt.DB, c *dupe.Config, f *cmd.Flags, args ...string) error
Constants ¶
View Source
const ( Backup_ = "backup" Clean_ = "clean" Database_ = "database" DB_ = "db" Dupe_ = "dupe" Export_ = "export" Import_ = "import" LS_ = "ls" MV_ = "mv" RM_ = "rm" Search_ = "search" Up_ = "up" UpPlus_ = "up+" )
Variables ¶
View Source
var ( ErrArgs = errors.New("no buckets were given as arguments") ErrEmptyDB = errors.New("the database is empty with no buckets") ErrToFewArgs = errors.New("too few arguments were given") ErrCommand = errors.New("command is unknown") ErrNilFlags = errors.New("flags cannot be a nil value") ErrNoArgs = errors.New("arguments cannot be empty") ErrUserExit = errors.New("cannot dupe check a directory that isn't stored as a bucket") )
Functions ¶
func Directories ¶
func Directories() error
Directories checks the arguments for invalid escaped quoted paths when using the Windows cmd.exe shell.
func DupeExample ¶
DupeExample creates the examples of the dupe command.
func HelpDatabase ¶
func HelpDatabase() string
func HelpSearch ¶
func HelpSearch() string
func ProgramOpts ¶
func SearchExample ¶
SearchExample creates the examples of the search command.
func SetStat ¶
SetStat sets and stats directories and files to scan, a bucket is the name given to database tables.
func StatSource ¶
StatSource checks the path arguments supplied to the dupe command.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
© Ben Garrett https://github.com/bengarrett/dupers
|
© Ben Garrett https://github.com/bengarrett/dupers |
© Ben Garrett https://github.com/bengarrett/dupers
|
© Ben Garrett https://github.com/bengarrett/dupers |
© Ben Garrett https://github.com/bengarrett/dupers
|
© Ben Garrett https://github.com/bengarrett/dupers |
Click to show internal directories.
Click to hide internal directories.