Crate fclones[][src]

Modules

config

Main program configuration.

files

Type-safe wrappers for file position and length and other file-system related utilities.

log

Logging and progress reporting.

path

Memory-efficient file path representation.

progress

Fast, concurrent, lockless progress bars.

report

Output formatting.

Structs

DedupeResult

Provides information about the number of deduplicated files and reclaimed disk space

Error

Error reported by top-level fclones functions

FileGroup

A group of files that have something in common, e.g. same size or same hash

Enums

DedupeOp

Defines what to do with redundant files

Traits

StageMetrics

Computes summaries of the results obtained from each grouping stage.

Functions

dedupe

Generates a list of commands that will remove the redundant files in the groups provided by the groups iterator.

group_files

Groups identical files together by 128-bit hash of their contents. Depending on filtering settings, can find unique, duplicate, over- or under-replicated files.

log_script

Prints a script generated by dedupe to stdout.

run_script

Runs a deduplication script generated by dedupe.

write_report

Writes the list of groups to a file or the standard output.