Added command line options to ignore duplicate quad in add or missing quad in delete
This commit is contained in:
parent
3c64b52e39
commit
ce1cce5a01
5 changed files with 50 additions and 8 deletions
|
|
@ -23,6 +23,7 @@ package graph
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"flag"
|
||||
|
||||
"github.com/barakmich/glog"
|
||||
"github.com/google/cayley/quad"
|
||||
|
|
@ -193,3 +194,8 @@ func QuadStores() []string {
|
|||
}
|
||||
return t
|
||||
}
|
||||
|
||||
var (
|
||||
NoErrorDup = flag.Bool("noerrdup", false, "Don't stop loading on duplicated key on add")
|
||||
NoErrorDel = flag.Bool("noerrdel", false, "Don't stop loading on missing key on delete")
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue