Retire unused weather bundle persistence helpers

This commit is contained in:
2026-08-13 04:12:38 +00:00
parent 7884b9a6c3
commit c3ebf06bd5
4 changed files with 0 additions and 54 deletions

View File

@@ -3,7 +3,6 @@ package fileutil
import (
"context"
"encoding/json"
"fmt"
"os"
"path/filepath"
@@ -74,11 +73,3 @@ func WriteFileAtomicContext(ctx context.Context, path string, data []byte) error
}
return nil
}
func WriteJSONAtomic(path string, value any) error {
data, err := json.MarshalIndent(value, "", " ")
if err != nil {
return fmt.Errorf("marshal %q: %w", path, err)
}
return WriteFileAtomic(path, data)
}