Add sfdupes implementation: scan, report, and trees subcommands

This commit is contained in:
2026-07-22 22:06:22 +07:00
parent dbc7f5a786
commit 1fad4a7d1c
8 changed files with 867 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
# sfdupes is pure Go; disable cgo so builds never touch the host C
# toolchain.
export CGO_ENABLED = 0
.PHONY: all build check clean
all: build
build:
go build
check: build
test -z "$$(gofmt -l .)"
go vet ./...
clean:
rm -f sfdupes files.dat