dedupe

package
v0.0.0-...-18dbfdb Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package dedupe finds all duplicate files within a directory. It ensures all duplicates are hardlinks to the same inodes, where possible.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dedupe

func Dedupe(root string) error

Dedupe finds all files within a path that have the same FNV hash and ensures they are all hardlinks to the same inodes on disk.

Types

type FileSize

type FileSize struct {
	Device int32 // Darwin only. This is uint64 on Linux
	Size   int64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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