2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-07 03:20:49 +00:00
restic/src/restic/backend/layout.go

13 lines
194 B
Go
Raw Normal View History

2017-03-26 19:52:49 +00:00
package backend
import (
"restic"
)
// Layout computes paths for file name storage.
type Layout interface {
Filename(restic.Handle) string
Dirname(restic.Handle) string
Paths() []string
}