traversal

package
v1.17.4-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: BSD-3-Clause Imports: 10 Imported by: 5

Documentation

Overview

Package traversal provides abstraction and implementation needed to traverse all chunks below a given root hash. It tries to parse all manifests and collections in its attempt to log all chunk addresses on the way.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Traverser added in v0.6.0

type Traverser interface {
	// Traverse iterates through each address related to the supplied one, if possible.
	Traverse(context.Context, swarm.Address, swarm.AddressIterFunc) error
}

Traverser represents service which traverse through address dependent chunks.

func New added in v0.6.0

func New(store storage.Getter) Traverser

New constructs for a new Traverser.

Jump to

Keyboard shortcuts

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