Move the command to cmd/sfdupes and the code to internal/sfdupes (closes #157) #158

Merged
clawbot merged 1 commits from issue-157-cmd-layout into next 2026-11-10 21:15:54 +01:00
1 Commits
Author SHA1 Message Date
sneak b5ff4f720f Move the command to cmd/sfdupes and the code to internal/sfdupes (closes #157)
check / check (push) Failing after 20m3s
The root held every .go file in package main, so no ref had the
path cmd/sfdupes that go install was given. cmd/sfdupes/main.go now
only calls sfdupes.Main; the rest is package internal/sfdupes, with
main.go renamed to cli.go. The Makefile builds ./cmd/sfdupes and sets
Version by its new import path. README and TODO.md give the new
install path and file paths.

The test files carry //nolint:testpackage: they test unexported
functions, which the linter allowed only in package main.

Model: opus-5-5
2026-11-10 19:50:51 +00:00