finder

package
Version: v0.0.0-...-c884529 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dup

type Dup struct {
	*node.Node     // Embed Node type Go type "inheritance"
	Count      int // Number of identical copies for the hash
}

Dup type describes found duplicate file

func (Dup) String

func (d Dup) String() string

Pretty printer for the report

func (Dup) Value

func (d Dup) Value() interface{}

Value implements mapreduce.Value interface

type Finder

type Finder struct {
	// contains filtered or unexported fields
}

Finder

func New

func New(nWorkers int) *Finder

func (*Finder) AllDuplicateFiles

func (f *Finder) AllDuplicateFiles(paths []string) <-chan mapreduce.Value

func (*Finder) SetTimeSpent

func (f *Finder) SetTimeSpent(d time.Duration)

func (Finder) Stats

func (f Finder) Stats() string

Source Files

Jump to

Keyboard shortcuts

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