diff --git a/src/restic/snapshot.go b/src/restic/snapshot.go index 9c95e84cf..4a8339d44 100644 --- a/src/restic/snapshot.go +++ b/src/restic/snapshot.go @@ -125,7 +125,7 @@ func SamePaths(expected, actual []string) bool { return true } -// Error when no snapshot is found for the given criteria +// ErrNoSnapshotFound is returned when no snapshot for the given criteria could be found. var ErrNoSnapshotFound = errors.New("no snapshot found") // FindLatestSnapshot finds latest snapshot with optional target/directory and source filters