Registry / database / ipfs-go-ds-pebble

ipfs-go-ds-pebble

JSON →
library0.5.10gogounverified

Package go-ds-pebble provides a datastore implementation backed by PebbleDB for IPFS.

go get github.com/ipfs/go-ds-pebble
INSTALL
IMPORT
SIG · IPFS-GO-DS-PEBBLE
I
ipfs-go-ds-pebble
databasegov0.5.10
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.

pebble
github.com/ipfs/go-ds-pebble

Creates a PebbleDB datastore, stores and retrieves a key-value pair.

package main import ( "fmt" "github.com/ipfs/go-ds-pebble" ) func main() { ds, _ := pebble.NewDatastore("/tmp/pebble", nil) defer ds.Close() _ = ds.Put([]byte("key"), []byte("value")) val, _ := ds.Get([]byte("key")) fmt.Println(string(val)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

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