stores

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package stores is copy pasted from go-fil-markets stores package - there is no novel code here.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func IsNotFound

func IsNotFound(err error) bool

Types

type ReadOnlyBlockstores

type ReadOnlyBlockstores struct {
	// contains filtered or unexported fields
}

ReadOnlyBlockstores tracks open read blockstores.

func NewReadOnlyBlockstores

func NewReadOnlyBlockstores() *ReadOnlyBlockstores

func (*ReadOnlyBlockstores) Get

func (*ReadOnlyBlockstores) Track

func (r *ReadOnlyBlockstores) Track(key string, bs bstore.Blockstore) bool

func (*ReadOnlyBlockstores) Untrack

func (r *ReadOnlyBlockstores) Untrack(key string) error

Jump to

Keyboard shortcuts

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