From 3ba67c27db0cf52b120e4f15c09047aa96d3bcb4 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 30 Mar 2026 18:18:06 +0000 Subject: object/store: Unify writers and fix naming --- object/store/quarantine_writer.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 object/store/quarantine_writer.go (limited to 'object/store/quarantine_writer.go') diff --git a/object/store/quarantine_writer.go b/object/store/quarantine_writer.go deleted file mode 100644 index f5656a8c..00000000 --- a/object/store/quarantine_writer.go +++ /dev/null @@ -1,21 +0,0 @@ -package objectstore - -// WriterQuarantine represents one quarantined write that accepts both object- -// wise and pack-wise writes. -type WriterQuarantine interface { - Quarantine - ObjectWriter - PackWriter -} - -// QuarantineOptions controls the options for one coordinated quarantine creation. -type QuarantineOptions struct { - Object ObjectQuarantineOptions - Pack PackQuarantineOptions -} - -// WriterQuarantiner creates coordinated quarantines that support both object- -// wise and pack-wise writes. -type WriterQuarantiner interface { - BeginQuarantine(opts QuarantineOptions) (WriterQuarantine, error) -} -- cgit v1.3.1-10-gc9f91