Skip to content

Commit 968774f

Browse files
committed
fix
1 parent 0b2740d commit 968774f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

filesystem.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"log"
88
"fmt"
99
"io"
10+
"path/filepath"
1011
)
1112

1213
type fs struct {
@@ -298,7 +299,7 @@ func (fs *fs) walk(path string, inode *Inode, files []string) []string {
298299

299300
i := fs.getInode(int64(content.Inode))
300301

301-
DIRECTORY_MODE = uint16(16877)
302+
DIRECTORY_MODE := uint16(040755)
302303
if i.Mode != DIRECTORY_MODE {
303304
files = append(files, filepath.Join(path, content.Name))
304305
continue

0 commit comments

Comments
 (0)