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

Method get

core/station/impl/src/core/call_context.rs:46–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 /// otherwise it will panic.
45 #[cfg(not(test))]
46 pub fn get() -> Self {
47 let caller = caller();
48
49 Self {
50 caller,
51 user: USER_REPOSITORY.find_by_identity(&caller),
52 }
53 }
54
55 #[cfg(test)]
56 pub fn get() -> Self {

Callers

nothing calls this directly

Calls 2

callerFunction · 0.85
find_by_identityMethod · 0.45

Tested by

no test coverage detected