From 9666676766bf21364f4fc4d0d1d336e72f2a91b4 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 6 Oct 2026 12:57:23 -0400 Subject: refactor: split casino.go, dedup helpers, remove audit docs --- internal/admin/yaml_util.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'internal/admin/yaml_util.go') diff --git a/internal/admin/yaml_util.go b/internal/admin/yaml_util.go index 2ab7ec4..050a3f6 100644 --- a/internal/admin/yaml_util.go +++ b/internal/admin/yaml_util.go @@ -2,7 +2,6 @@ package admin import ( "fmt" - "log" "os" "path/filepath" "strings" @@ -133,15 +132,6 @@ func listYAMLTree(dataDir, subdir string) (*YAMLTree, error) { return tree, nil } -func backupFile(path string) []byte { - data, err := os.ReadFile(path) - if err != nil { - log.Printf("backup: WARNING failed to read %s: %v (undo will not be able to restore this file)", path, err) - return nil - } - return data -} - func snapshotFile(path string) ([]byte, error) { return os.ReadFile(path) } -- cgit v1.2.3