diff options
| author | 2026-03-30 17:34:16 +0000 | |
|---|---|---|
| committer | 2026-03-30 17:34:16 +0000 | |
| commit | bf394989bad0242c6596520b7528c1a06563efa7 (patch) | |
| tree | 09d32b603aec4450ac6eb220e561f00eb4fb8472 /object/store/loose/quarantine.go | |
| parent | object/store/loose: Fix lack of tmp file removal (diff) | |
| signature | No signature | |
object/store/loose: Add quarantine
Diffstat (limited to 'object/store/loose/quarantine.go')
| -rw-r--r-- | object/store/loose/quarantine.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/object/store/loose/quarantine.go b/object/store/loose/quarantine.go new file mode 100644 index 00000000..52fb8120 --- /dev/null +++ b/object/store/loose/quarantine.go @@ -0,0 +1,19 @@ +package loose + +import ( + "os" + + objectstore "codeberg.org/lindenii/furgit/object/store" +) + +var _ objectstore.ObjectQuarantiner = (*Store)(nil) + +type objectQuarantine struct { + *Store + + parent *Store + tempName string + tempRoot *os.Root +} + +var _ objectstore.ObjectQuarantine = (*objectQuarantine)(nil) |
