mirror of
https://github.com/restic/restic.git
synced 2026-10-12 13:07:14 +00:00
fuse: move to top level
This commit is contained in:
1 parent
bd746a0425
commit
d1629e1e4e
7 files changed
+2
-1
No files matched your search
@@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/restic/restic/cmd/restic/fuse"
|
"github.com/restic/restic/fuse"
|
||||||
|
|
||||||
systemFuse "bazil.org/fuse"
|
systemFuse "bazil.org/fuse"
|
||||||
"bazil.org/fuse/fs"
|
"bazil.org/fuse/fs"
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -60,6 +60,7 @@ func (sn *SnapshotsDir) updateCache(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sn *SnapshotsDir) get(name string) (snapshot SnapshotWithId, ok bool) {
|
func (sn *SnapshotsDir) get(name string) (snapshot SnapshotWithId, ok bool) {
|
||||||
sn.RLock()
|
sn.RLock()
|
||||||
snapshot, ok = sn.knownSnapshots[name]
|
snapshot, ok = sn.knownSnapshots[name]
|
||||||
Reference in new issue
Block a user