Consolidate scanner/checker: delete internal/ duplicates, use mfer/ package #22

Closed
opened 2026-02-09 01:05:39 +01:00 by clawbot · 0 comments
Collaborator

Phase 1 item from #10

There are two parallel implementations:

  • mfer/scanner.go + mfer/checker.go (typed with FileSize, RelFilePath) — superior versions
  • internal/scanner/ + internal/checker/ (raw int64, string) — older, less type-safe

The mfer/ package versions should be canonical. Delete internal/scanner/ and internal/checker/, then update the CLI code in cmd/ to use the mfer/ package directly.

This reduces code duplication and ensures a single source of truth for scanning and checking logic.

**Phase 1 item from #10** There are two parallel implementations: - `mfer/scanner.go` + `mfer/checker.go` (typed with `FileSize`, `RelFilePath`) — superior versions - `internal/scanner/` + `internal/checker/` (raw `int64`, `string`) — older, less type-safe The `mfer/` package versions should be canonical. Delete `internal/scanner/` and `internal/checker/`, then update the CLI code in `cmd/` to use the `mfer/` package directly. This reduces code duplication and ensures a single source of truth for scanning and checking logic.
clawbot self-assigned this 2026-02-09 01:05:39 +01:00
sneak closed this issue 2026-02-09 02:09:01 +01:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/mfer#22
No description provided.