Adopt IFileSystem abstraction across ImageBuilder
Open
area-infrastructure
- Dominant language
- C#
- Stars
- 181
- Forks
- 67
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 10
Description
PR #1957 introduces an `IFileSystem` abstraction for testability of the signing services. The rest of ImageBuilder still uses `System.IO.File` and `System.IO.Directory` directly.
Migrate all direct `System.IO` filesystem usage in `src/ImageBuilder/` to use `IFileSystem`, extending the interface as needed. This enables unit testing without disk I/O and establishes a single consistent pattern.
Context: https://github.com/dotnet/docker-tools/pull/1957#discussion_r1962217555
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.