aboutsummaryrefslogtreecommitdiff
path: root/object/store/dual/writer_pack.go
blob: 5ac8648b712c2ccf6bd480491bc60eb5f4b4f5e7 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package dual

import (
	"io"

	objectstore "codeberg.org/lindenii/furgit/object/store"
)

// WritePack ingests one pack stream into the pack-wise store.
func (dual *Dual) WritePack(src io.Reader, opts objectstore.PackWriteOptions) error {
	return dual.pack.WritePack(src, opts)
}