mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
parent
fdc738fb70
commit
2b1932a258
1 changed files with 2 additions and 0 deletions
|
@ -440,6 +440,8 @@ func (l *snapshotLink) Readlink(ctx context.Context, req *fuse.ReadlinkRequest)
|
||||||
func (l *snapshotLink) Attr(ctx context.Context, a *fuse.Attr) error {
|
func (l *snapshotLink) Attr(ctx context.Context, a *fuse.Attr) error {
|
||||||
a.Inode = l.inode
|
a.Inode = l.inode
|
||||||
a.Mode = os.ModeSymlink | 0777
|
a.Mode = os.ModeSymlink | 0777
|
||||||
|
a.Size = uint64(len(l.target))
|
||||||
|
a.Blocks = 1 + a.Size/blockSize
|
||||||
a.Uid = l.root.uid
|
a.Uid = l.root.uid
|
||||||
a.Gid = l.root.gid
|
a.Gid = l.root.gid
|
||||||
a.Atime = l.snapshot.Time
|
a.Atime = l.snapshot.Time
|
||||||
|
|
Loading…
Reference in a new issue