Documentation
¶
Index ¶
- func New(manifestPath string, algorithm api.HashAlgorithm) *fileManifest
- func NopExporter() api.CASStateExporter
- type MultiImporter
- func (i *MultiImporter) AddCollection(collectionPath string) error
- func (i *MultiImporter) AddOne(manifestPath string)
- func (i *MultiImporter) BlobHashes() iter.Seq2[[]byte, error]
- func (i *MultiImporter) NodeHashes() iter.Seq2[[]byte, error]
- func (i *MultiImporter) TreeHashes() iter.Seq2[[]byte, error]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(manifestPath string, algorithm api.HashAlgorithm) *fileManifest
func NopExporter ¶
func NopExporter() api.CASStateExporter
Types ¶
type MultiImporter ¶
type MultiImporter struct {
// contains filtered or unexported fields
}
func NewMultiImporter ¶
func NewMultiImporter(manifestPaths []string, algorithm api.HashAlgorithm) *MultiImporter
func (*MultiImporter) AddCollection ¶
func (i *MultiImporter) AddCollection(collectionPath string) error
func (*MultiImporter) AddOne ¶
func (i *MultiImporter) AddOne(manifestPath string)
func (*MultiImporter) BlobHashes ¶
func (i *MultiImporter) BlobHashes() iter.Seq2[[]byte, error]
func (*MultiImporter) NodeHashes ¶
func (i *MultiImporter) NodeHashes() iter.Seq2[[]byte, error]
func (*MultiImporter) TreeHashes ¶
func (i *MultiImporter) TreeHashes() iter.Seq2[[]byte, error]
Click to show internal directories.
Click to hide internal directories.