2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-07 11:30:49 +00:00

fuse: move to top level

This commit is contained in:
Alexander Neumann 2015-07-26 17:20:26 +02:00
parent bd746a0425
commit d1629e1e4e
7 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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]