mirror of
https://github.com/octoleo/restic.git
synced 2024-05-30 15:40:50 +00:00
14 lines
303 B
Go
14 lines
303 B
Go
|
package restic
|
||
|
|
||
|
import "restic/repository"
|
||
|
|
||
|
// Repository stores data in a backend. It provides high-level functions and
|
||
|
// transparently encrypts/decrypts data.
|
||
|
type Repository interface {
|
||
|
|
||
|
// Backend returns the backend used by the repository
|
||
|
Backend() Backend
|
||
|
|
||
|
SetIndex(*repository.MasterIndex)
|
||
|
}
|