refactor: replace fileutil with fsutil and local hashing

This commit is contained in:
Mathis Maquenne
2026-08-05 11:42:35 +02:00
parent 12dbbb5e10
commit dbb808f371
9 changed files with 110 additions and 119 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
"time"
"github.com/mathismqn/godeez/internal/buildinfo"
"github.com/mathismqn/godeez/internal/fileutil"
"github.com/mathismqn/godeez/internal/fsutil"
)
const noCheckEnv = "GODEEZ_NO_UPDATE_CHECK"
@@ -59,7 +59,7 @@ func writeCache(version string) error {
if err != nil {
return err
}
if err := fileutil.EnsureDir(filepath.Dir(path)); err != nil {
if err := fsutil.EnsureDir(filepath.Dir(path)); err != nil {
return err
}