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

Method Put

driver/ipfs-log/write_batch.go:10–12  ·  view source on GitHub ↗

Put adds a key-value pair to the write batch. This operation does not immediately write to the database.

(key, value []byte)

Source from the content-addressed store, hash-verified

8// Put adds a key-value pair to the write batch.
9// This operation does not immediately write to the database.
10func (w *WriteBatch) Put(key, value []byte) {
11 _ = w.db.Put(key, value)
12}
13
14// Delete removes a key-value pair from the write batch.
15// This operation does not immediately delete from the database.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected