joiner

package
v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2025 License: BSD-3-Clause Imports: 15 Imported by: 4 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package joiner provides implementations of the file.Joiner interface

Index

Constants

This section is empty.

Variables

View Source
var ErrMalformedTrie = errors.New("malformed tree")

Functions

func New

func New(ctx context.Context, g storage.Getter, putter storage.Putter, address swarm.Address, rLevel redundancy.Level) (file.Joiner, int64, error)

New creates a new Joiner. A Joiner provides Read, Seek and Size functionalities.

func NewDecoderCache

func NewDecoderCache(g storage.Getter, p storage.Putter, conf getter.Config) *decoderCache

NewDecoderCache creates a new decoder cache

func NewJoiner added in v2.3.0

func NewJoiner(ctx context.Context, g storage.Getter, putter storage.Putter, address swarm.Address, rootChunk swarm.Chunk) (file.Joiner, int64, error)

NewJoiner creates a new Joiner with the already fetched root chunk. A Joiner provides Read, Seek and Size functionalities.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL