bsfile

package
v0.0.0-...-01875d1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blobstore

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

func New

func New(r repo.Repo) *Blobstore

func (*Blobstore) Delete

func (bs *Blobstore) Delete(id blobs.ID) error

func (*Blobstore) Get

func (bs *Blobstore) Get(id blobs.ID) (b blobs.Blob, err error)

func (*Blobstore) Put

func (bs *Blobstore) Put(b blobs.Blob) error

func (*Blobstore) Scan

func (bs *Blobstore) Scan(iterFunc func(b blobs.Blob) bool)

func (*Blobstore) ScanKeys

func (bs *Blobstore) ScanKeys(iterFunc func(id blobs.ID) bool)

Jump to

Keyboard shortcuts

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