duplicate

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(m UniqueMap, logBuffer *ilog.LogFileBuffer) (int64, int64, []string)

func Check

func Check(basePath string, options store.Options)

Types

type UniqueMap

type UniqueMap map[string]file.FileHashs

func CalcHashSizeMap

func CalcHashSizeMap(fileHashs []file.FileHash) (UniqueMap, int64, int64)

Create map with hash and size as key, ignore small files as well as git files

func (UniqueMap) Has

func (m UniqueMap) Has(key string) bool

func (*UniqueMap) Remove

func (m *UniqueMap) Remove(key string)

Jump to

Keyboard shortcuts

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