blob: a830d06c3a02bf37bd5a50570250cc0c06dfce20 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package chain
import refstore "codeberg.org/lindenii/furgit/ref/store"
// New creates an ordered reference store chain.
//
// The provided backends must be non-nil and distinct.
//
// Labels: Deps-Borrowed.
func New(backends ...refstore.ReadingStore) *Chain {
return &Chain{
backends: append([]refstore.ReadingStore(nil), backends...),
}
}
|