graph: make quadstore init functions idempotent
This commit is contained in:
parent
9658689995
commit
e849da9402
7 changed files with 63 additions and 24 deletions
|
|
@ -140,6 +140,7 @@ func (d Options) BoolKey(key string) (bool, bool, error) {
|
|||
}
|
||||
|
||||
var ErrCannotBulkLoad = errors.New("quadstore: cannot bulk load")
|
||||
var ErrDatabaseExists = errors.New("quadstore: cannot init; database already exists")
|
||||
|
||||
type BulkLoader interface {
|
||||
// BulkLoad loads Quads from a quad.Unmarshaler in bulk to the QuadStore.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue