1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00
Files
kubo/repo/repo.go
Tommi Virtanen 49732d24fb Dead code cleanup: repo.IsInitialized
The version actually used is in fsrepo, and belongs there as it knows
about fsrepo file layout.
2015-03-11 21:46:30 -07:00

21 lines
410 B
Go

package repo
import (
"io"
datastore "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore"
config "github.com/jbenet/go-ipfs/repo/config"
)
type Repo interface {
Config() *config.Config
SetConfig(*config.Config) error
SetConfigKey(key string, value interface{}) error
GetConfigKey(key string) (interface{}, error)
Datastore() datastore.ThreadSafeDatastore
io.Closer
}