mirror of
https://github.com/kopia/kopia.git
synced 2026-01-24 22:38:00 -05:00
11 lines
233 B
Go
11 lines
233 B
Go
package vault
|
|
|
|
import "github.com/kopia/kopia/repo"
|
|
|
|
// Reader allows reading from a vault.
|
|
type Reader interface {
|
|
Get(id string) ([]byte, error)
|
|
List(prefix string) ([]string, error)
|
|
OpenRepository() (*repo.Repository, error)
|
|
}
|