mirror of
https://github.com/octoleo/restic.git
synced 2024-11-02 11:46:36 +00:00
storage of device id of files
This commit is contained in:
parent
6935f82389
commit
c855d6bb9a
@ -581,6 +581,7 @@ func (node *Node) fillExtra(path string, fi os.FileInfo) error {
|
||||
case "file":
|
||||
node.Size = uint64(stat.size())
|
||||
node.Links = uint64(stat.nlink())
|
||||
node.Device = uint64(stat.dev())
|
||||
case "dir":
|
||||
case "symlink":
|
||||
node.LinkTarget, err = fs.Readlink(path)
|
||||
|
Loading…
Reference in New Issue
Block a user