package pool import "pad/internal/io/pool/types" // FileSystem defines the interface for filesystem operations // used by the worker pool. type FileSystem interface { ReadDir(path string) ([]types.DirEntry, error) DirExists(path string) bool FileExists(path string) bool ReadFile(path string) ([]byte, error) WriteFile(path string, content []byte) error WriteFileAtomic(path string, content []byte) error DeleteFile(path string) error CreateDir(path string) error }