mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 01:57:10 +00:00
commit
6342a08a16
@ -10,7 +10,7 @@ import (
|
|||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Statically ensure that *file implements the given interface
|
// Statically ensure that *link implements the given interface
|
||||||
var _ = fs.NodeReadlinker(&link{})
|
var _ = fs.NodeReadlinker(&link{})
|
||||||
|
|
||||||
type link struct {
|
type link struct {
|
||||||
|
@ -25,7 +25,7 @@ type SnapshotsDir struct {
|
|||||||
names map[string]*restic.Snapshot
|
names map[string]*restic.Snapshot
|
||||||
}
|
}
|
||||||
|
|
||||||
// ensure that *DirSnapshots implements these interfaces
|
// ensure that *SnapshotsDir implements these interfaces
|
||||||
var _ = fs.HandleReadDirAller(&SnapshotsDir{})
|
var _ = fs.HandleReadDirAller(&SnapshotsDir{})
|
||||||
var _ = fs.NodeStringLookuper(&SnapshotsDir{})
|
var _ = fs.NodeStringLookuper(&SnapshotsDir{})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user