mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 16:23:59 +00:00
fuse: move to top level
This commit is contained in:
parent
bd746a0425
commit
d1629e1e4e
@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/restic/restic/cmd/restic/fuse"
|
||||
"github.com/restic/restic/fuse"
|
||||
|
||||
systemFuse "bazil.org/fuse"
|
||||
"bazil.org/fuse/fs"
|
||||
|
@ -60,6 +60,7 @@ func (sn *SnapshotsDir) updateCache(ctx context.Context) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (sn *SnapshotsDir) get(name string) (snapshot SnapshotWithId, ok bool) {
|
||||
sn.RLock()
|
||||
snapshot, ok = sn.knownSnapshots[name]
|
Loading…
Reference in New Issue
Block a user