loadsave

package
v2.5.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: BSD-3-Clause Imports: 10 Imported by: 3

Documentation

Overview

Package loadsave provides lightweight persistence abstraction for manifest operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(getter storage.Getter, putter storage.Putter, pipelineFn func() pipeline.Interface, rLevel redundancy.Level) file.LoadSaver

New returns a new read-write load-saver.

func NewReadonly

func NewReadonly(getter storage.Getter, rLevel redundancy.Level) file.LoadSaver

NewReadonly returns a new read-only load-saver which will error on write.

func NewReadonlyWithRootCh added in v2.3.0

func NewReadonlyWithRootCh(getter storage.Getter, rootCh swarm.Chunk, rLevel redundancy.Level) file.LoadSaver

NewReadonlyWithRootCh returns a new read-only load-saver which will error on write.

Types

This section is empty.

Jump to

Keyboard shortcuts

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