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

Function read_system_info

core/station/impl/src/core/memory.rs:68–70  ·  view source on GitHub ↗

A helper function to access the system information.

()

Source from the content-addressed store, hash-verified

66
67/// A helper function to access the system information.
68pub fn read_system_info() -> SystemInfo {
69 CONFIG.with(|m| m.borrow().get().get().clone())
70}
71
72/// A helper function to write the system information to stable memory.
73pub fn write_system_info(config: SystemInfo) {

Calls 1

getMethod · 0.45

Tested by 1

test_execution_completedFunction · 0.68