dupers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

dupers todo

Index

Constants

This section is empty.

Variables

View Source
var ErrPathExist = errors.New("path exists in the database bucket")

Functions

func Print

func Print(term string, quiet bool, m *database.Matches)

Print the results of the database comparisons.

Types

type Config

type Config struct {
	Timer   time.Time
	Buckets []string
	Source  string // directory or file to compare
	NoWalk  bool   // todo
	Quiet   bool   // todo
	// contains filtered or unexported fields
}

Config options for duper.

func (*Config) Error

func (c *Config) Error(err error)

Error saves the error to either a new or append an existing log file.

func (*Config) Print

func (c *Config) Print()

Print the results of a dupe request.

func (*Config) Seek

func (c *Config) Seek()

Seek sources from the database and print out the matches.

func (*Config) Status

func (c *Config) Status() string

Status summarizes the file total and time taken.

func (*Config) WalkDir

func (c *Config) WalkDir(root string) error

WalkDir walks the root directory for zip archives and to extract any found comments.

func (*Config) WalkDirs

func (c *Config) WalkDirs()

WalkDirs walks the directories provided by the arguments for zip archives to extract any found comments.

func (*Config) WalkSource

func (c *Config) WalkSource()

WalkSource walks the source directory or a file to collect its hashed content for future comparison.

Directories

Path Synopsis
dupers todo
dupers todo

Jump to

Keyboard shortcuts

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