forked from TrueCloudLab/restic
parent
8fb032b590
commit
d2105a5085
1 changed files with 1 additions and 1 deletions
2
node.go
2
node.go
|
@ -61,7 +61,7 @@ func NodeFromFileInfo(path string, fi os.FileInfo) (*Node, error) {
|
||||||
node := &Node{
|
node := &Node{
|
||||||
path: path,
|
path: path,
|
||||||
Name: fi.Name(),
|
Name: fi.Name(),
|
||||||
Mode: fi.Mode() & os.ModePerm,
|
Mode: fi.Mode() & (os.ModePerm | os.ModeType),
|
||||||
ModTime: fi.ModTime(),
|
ModTime: fi.ModTime(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue