Commit Graph

2 Commits

Author SHA1 Message Date
Kir Kolyshkin dbb7e8c408 internal/dedup: fix ST1012 linter warning
Fix the following linter warning:

> internal/dedup/dedup.go:16:5: ST1012: error var notSupported should have name of the form errFoo (staticcheck)
> var notSupported = errors.New("reflinks are not supported on this platform")
>     ^

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2025-03-26 18:42:54 -07:00
Giuseppe Scrivano 52b200d654 internal: new package dedup
offers a way to iterate a list of directories and find duplicate
files.  The duplicate files are deduplicated using reflinks where
supported.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-12-09 16:41:59 +01:00