diff options
Diffstat (limited to 'refstore/files/batch_queue.go')
| -rw-r--r-- | refstore/files/batch_queue.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/refstore/files/batch_queue.go b/refstore/files/batch_queue.go new file mode 100644 index 00000000..4a3b3cf1 --- /dev/null +++ b/refstore/files/batch_queue.go @@ -0,0 +1,9 @@ +package files + +func (batch *Batch) queue(op txOp) { + if batch.closed { + return + } + + batch.ops = append(batch.ops, op) +} |
