cli/pkg/build
Snider f343066200 feat(build): migrate filesystem operations to io.Local abstraction
Migrate config.go:
- os.ReadFile → io.Local.Read (with filepath.Abs for relative paths)

Migrate checksum.go:
- os.MkdirAll → io.Local.EnsureDir
- os.WriteFile → io.Local.Write

Migrate discovery.go:
- os.Stat → io.Local.IsFile (with filepath.Abs for relative paths)

Note: os.Open for file hashing remains unchanged as it requires io.Reader.

Part of #101 (io.Medium migration tracking issue).

Closes #105

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:52:14 +00:00
..
buildcmd feat(mcp): add workspace root validation to prevent path traversal (#100) 2026-02-01 21:59:34 +00:00
builders feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
signing feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
testdata feat(build): implement core build system with cross-compilation 2026-01-28 17:59:02 +00:00
archive.go feat(build): implement core build system with cross-compilation 2026-01-28 17:59:02 +00:00
archive_test.go feat(build): implement core build system with cross-compilation 2026-01-28 17:59:02 +00:00
build.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
checksum.go feat(build): migrate filesystem operations to io.Local abstraction 2026-02-02 04:52:14 +00:00
checksum_test.go feat(build): implement core build system with cross-compilation 2026-01-28 17:59:02 +00:00
config.go feat(build): migrate filesystem operations to io.Local abstraction 2026-02-02 04:52:14 +00:00
config_test.go feat(build): add SignConfig to BuildConfig 2026-01-29 02:52:12 +00:00
discovery.go feat(build): migrate filesystem operations to io.Local abstraction 2026-02-02 04:52:14 +00:00
discovery_test.go feat(build): implement core build system with cross-compilation 2026-01-28 17:59:02 +00:00