MCPcopy Create free account
hub / github.com/dfinity/orbit / get

Method get

libs/orbit-essentials/src/repository.rs:94–96  ·  view source on GitHub ↗

Returns the record from the repository if it exists.

(&self, key: &Key)

Source from the content-addressed store, hash-verified

92
93 /// Returns the record from the repository if it exists.
94 fn get(&self, key: &Key) -> Option<Value> {
95 Self::with_db(|db| db.get(key))
96 }
97
98 /// Inserts a record into the repository.
99 fn insert(&self, key: Key, value: Value) -> Option<Value> {

Callers 2

paginated_itemsFunction · 0.45
newMethod · 0.45

Implementers 15

asset.rscore/station/impl/src/repositories/ass
notification.rscore/station/impl/src/repositories/not
user_group.rscore/station/impl/src/repositories/use
request_evaluation_result.rscore/station/impl/src/repositories/req
request_policy.rscore/station/impl/src/repositories/req
account.rscore/station/impl/src/repositories/acc
request.rscore/station/impl/src/repositories/req
user.rscore/station/impl/src/repositories/use
address_book.rscore/station/impl/src/repositories/add
named_rule.rscore/station/impl/src/repositories/nam
transfer.rscore/station/impl/src/repositories/tra
external_canister.rscore/station/impl/src/repositories/ext

Calls

no outgoing calls

Tested by

no test coverage detected