forked from TrueCloudLab/restic
Fix debug messages in internal/fuse
This commit is contained in:
parent
df66daa5c9
commit
072cf7b02d
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ func newDirFromSnapshot(ctx context.Context, root *Root, inode uint64, snapshot
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *dir) Attr(ctx context.Context, a *fuse.Attr) error {
|
func (d *dir) Attr(ctx context.Context, a *fuse.Attr) error {
|
||||||
debug.Log("called")
|
debug.Log("Attr()")
|
||||||
a.Inode = d.inode
|
a.Inode = d.inode
|
||||||
a.Mode = os.ModeDir | d.node.Mode
|
a.Mode = os.ModeDir | d.node.Mode
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ func (d *dir) calcNumberOfLinks() uint32 {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *dir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) {
|
func (d *dir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) {
|
||||||
debug.Log("called")
|
debug.Log("ReadDirAll()")
|
||||||
ret := make([]fuse.Dirent, 0, len(d.items)+2)
|
ret := make([]fuse.Dirent, 0, len(d.items)+2)
|
||||||
|
|
||||||
ret = append(ret, fuse.Dirent{
|
ret = append(ret, fuse.Dirent{
|
||||||
|
|
Loading…
Reference in a new issue