Remove workspace state subsystem

This commit is contained in:
2026-08-01 20:00:54 +00:00
parent ece31567b8
commit dd7881acfb
16 changed files with 12 additions and 986 deletions

View File

@@ -1,4 +1,4 @@
// Package fileutil provides narrow filesystem helpers for durable artifacts.
// Package fileutil provides narrow filesystem helpers for operator-owned outputs.
package fileutil
import (
@@ -38,11 +38,3 @@ func WriteJSONAtomic(path string, value any) error {
}
return WriteFileAtomic(path, data)
}
func CopyFileAtomic(source string, target string) error {
data, err := os.ReadFile(source)
if err != nil {
return fmt.Errorf("read %q: %w", source, err)
}
return WriteFileAtomic(target, data)
}