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