package dedup
import "github.com/containers/storage/internal/dedup"
Index ¶
Types ¶
type DedupHashMethod ¶
type DedupHashMethod int
const ( DedupHashInvalid DedupHashMethod = iota DedupHashCRC DedupHashFileSize DedupHashSHA256 )
type DedupOptions ¶
type DedupOptions struct { // HashMethod is the hash function to use to find identical files HashMethod DedupHashMethod }
type DedupResult ¶
type DedupResult struct { // Deduped represents the total number of bytes saved by deduplication. // This value accounts also for all previously deduplicated data, not only the savings // from the last run. Deduped uint64 }
func DedupDirs ¶
func DedupDirs(dirs []string, options DedupOptions) (DedupResult, error)
Source Files ¶
- Version
- v1.59.0 (latest)
- Published
- Jul 14, 2025
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 1 day ago –
Tools for package owners.