Registry / utility / ipfs-go-ipfs-blockstore

ipfs-go-ipfs-blockstore

JSON →
library1.3.1gogounverified

Implements a thin wrapper over a datastore for getting and putting block objects.

go get github.com/ipfs/go-ipfs-blockstore
INSTALL
IMPORT
SIG · IPFS-GO-IPFS-BLOCK
I
ipfs-go-ipfs-blockstore
utilitygov1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

blockstore
github.com/ipfs/go-ipfs-blockstore

Creates a new blockstore backed by an in-memory datastore.

package main import ( "fmt" "github.com/ipfs/go-ipfs-blockstore" "github.com/ipfs/go-datastore" ) func main() { ds := datastore.NewMapDatastore() bs := blockstore.NewBlockstore(ds) fmt.Println(bs) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ipfs-go-ipfs-blockstore — go get ipfs-go-ipfs-blockstore · libregistry