diff options
Diffstat (limited to 'ref/store/chain/chain.go')
| -rw-r--r-- | ref/store/chain/chain.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ref/store/chain/chain.go b/ref/store/chain/chain.go new file mode 100644 index 00000000..6a4a0eed --- /dev/null +++ b/ref/store/chain/chain.go @@ -0,0 +1,12 @@ +// Package chain provides a wrapper reference storage backend to query a chain +// of backends. +package chain + +import "codeberg.org/lindenii/furgit/ref/store" + +// Chain queries multiple reference stores in order. +// +// Chain borrows its backend stores. +type Chain struct { + backends []refstore.ReadingStore +} |
