mirror of
https://github.com/octoleo/restic.git
synced 2024-06-07 03:20:49 +00:00
13 lines
194 B
Go
13 lines
194 B
Go
|
package backend
|
||
|
|
||
|
import (
|
||
|
"restic"
|
||
|
)
|
||
|
|
||
|
// Layout computes paths for file name storage.
|
||
|
type Layout interface {
|
||
|
Filename(restic.Handle) string
|
||
|
Dirname(restic.Handle) string
|
||
|
Paths() []string
|
||
|
}
|