duplicate

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

© Ben Garrett https://github.com/bengarrett/dupers

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFast   = errors.New("fast flag cannot be used in this situation")
	ErrNoArgs = errors.New("request is missing arguments")
	ErrNoRM   = errors.New("could not remove file")
	ErrSearch = errors.New("search request needs an expression")
)

Functions

func Check

func Check(args, buckets, minArgs int)

Check parses the arguments of the dupe command.

func Cleanup

func Cleanup(c *dupe.Config, f *cmd.Flags) error

Cleanup runs the cleanup commands when the appropriate flags are set.

func Lookup

func Lookup(db *bolt.DB, c *dupe.Config) error

func WalkScanSave

func WalkScanSave(db *bolt.DB, c *dupe.Config, f *cmd.Flags) error

WalkScanSave both cleans and then updates the buckets with file system changes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL