aboutsummaryrefslogtreecommitdiff
path: root/object/store/writer.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-30 18:18:06 +0000
committerGravatar Runxi Yu2026-03-30 18:18:06 +0000
commit3ba67c27db0cf52b120e4f15c09047aa96d3bcb4 (patch)
treecbd94566f5c9d2732f8527e88815e3b63413a694 /object/store/writer.go
parentobject/store/dual: Dual shouldn't satisfy {Object,Pack}Quarantiner at all (diff)
signatureNo signature
object/store: Unify writers and fix naming v0.1.160
Diffstat (limited to 'object/store/writer.go')
-rw-r--r--object/store/writer.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/object/store/writer.go b/object/store/writer.go
new file mode 100644
index 00000000..9fa05aba
--- /dev/null
+++ b/object/store/writer.go
@@ -0,0 +1,8 @@
+package objectstore
+
+// Writer represents a store that could perform both pack ingestions
+// and individual object writes.
+type Writer interface {
+ PackWriter
+ ObjectWriter
+}