feat: begin working on the categorize

This commit is contained in:
DaanSelen
2026-04-23 16:57:58 +02:00
parent 417cecf43f
commit 24be1cedeb
6 changed files with 50 additions and 43 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func BuildFileRecord(r io.Reader, origName string, contentDirectory string) (Fil
return File{}, fmt.Errorf("unsupported filetype")
}
checksum, err := utility.HashReader(r)
checksum, err := utility.GenerateHashFromReader(r)
if err != nil {
slog.Error("failed to calculate hash of file at given path", "error", err)
return File{}, err