cli/pkg/devops
Snider e081869ba2 feat(devops): migrate filesystem operations to io.Local abstraction
Migrate config.go:
- os.ReadFile → io.Local.Read

Migrate devops.go:
- os.Stat → io.Local.IsFile

Migrate images.go:
- os.MkdirAll → io.Local.EnsureDir
- os.Stat → io.Local.IsFile
- os.ReadFile → io.Local.Read
- os.WriteFile → io.Local.Write

Migrate test.go:
- os.ReadFile → io.Local.Read
- os.Stat → io.Local.IsFile

Migrate claude.go:
- os.Stat → io.Local.IsDir

Updated tests to reflect improved behavior:
- Manifest.Save() now creates parent directories
- hasFile() correctly returns false for directories

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

Closes #107

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 05:00:10 +00:00
..
sources feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
claude.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
claude_test.go test: increase coverage to 63.8% across packages 2026-01-29 14:28:23 +00:00
config.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
config_test.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
devops.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
devops_test.go feat(help): add markdown parsing and section extraction (#174) 2026-02-02 00:07:32 +00:00
images.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
images_test.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
serve.go feat(devops): add Serve with project mounting 2026-01-29 02:16:01 +00:00
serve_test.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
shell.go feat(devops): add Shell for SSH and console access 2026-01-29 02:12:52 +00:00
shell_test.go test: increase coverage to 63.8% across packages 2026-01-29 14:28:23 +00:00
test.go feat(devops): migrate filesystem operations to io.Local abstraction 2026-02-02 05:00:10 +00:00
test_test.go test: increase coverage to 63.8% across packages 2026-01-29 14:28:23 +00:00