MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Get

Method Get

driver/ipfs-log/db.go:153–155  ·  view source on GitHub ↗

Get retrieves a value by key from the database

(key []byte)

Source from the content-addressed store, hash-verified

151
152// Get retrieves a value by key from the database
153func (db *DB) Get(key []byte) ([]byte, error) {
154 return db.db.Get(key)
155}
156
157// Delete removes a key-value pair from the database
158func (db *DB) Delete(key []byte) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected