mirror of
https://github.com/safing/portbase
synced 2026-05-01 21:21:23 +00:00
Make shadow deletes conditional
Also, Move maintenance to separate interface.
This commit is contained in:
parent
c479430d46
commit
5bb73a7b4c
9 changed files with 83 additions and 45 deletions
|
|
@ -28,7 +28,7 @@ func (i *InjectBase) Put(m record.Record) (record.Record, error) {
|
|||
}
|
||||
|
||||
// PutMany stores many records in the database.
|
||||
func (i *InjectBase) PutMany() (batch chan record.Record, err chan error) {
|
||||
func (i *InjectBase) PutMany(shadowDelete bool) (batch chan record.Record, err chan error) {
|
||||
batch = make(chan record.Record)
|
||||
err = make(chan error, 1)
|
||||
err <- errNotImplemented
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue