X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/2b7fabb5a1ff6092dd3ea62bd882dd0c02951b81..aa91955aa4072310fa8113e2fc3e4be4bc188f45:/hotline/files.go?ds=sidebyside diff --git a/hotline/files.go b/hotline/files.go index dcabf9d..d4bea53 100644 --- a/hotline/files.go +++ b/hotline/files.go @@ -3,6 +3,7 @@ package hotline import ( "encoding/binary" "errors" + "io" "io/fs" "os" "path/filepath" @@ -132,7 +133,7 @@ func getFileNameList(path string, ignoreList []string) (fields []Field, err erro fnwi.name = []byte(strippedName) - b, err := fnwi.MarshalBinary() + b, err := io.ReadAll(&fnwi) if err != nil { return nil, err }