]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/files.go
Remove CircleCI config
[rbdr/mobius] / hotline / files.go
index dcabf9d986e8057d52ae3302528afc743bf9eb0c..d4bea538258dc2ebc362b455bb48e27bd02952fa 100644 (file)
@@ -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
                }