MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / const_vals_ref

Method const_vals_ref

compiler/src/modules/vm/cache.rs:103–105  ·  view source on GitHub ↗

Direct access (caller must have called ensure_const_vals). */

(&self)

Source from the content-addressed store, hash-verified

101
102 /* Direct access (caller must have called ensure_const_vals). */
103 pub fn const_vals_ref(&self) -> &[Val] {
104 self.const_vals.as_ref().expect("const pool not materialized")
105 }
106
107 pub fn const_vals_opt(&self) -> Option<&[Val]> {
108 self.const_vals.as_deref()

Callers 1

execMethod · 0.80

Calls 1

expectMethod · 0.45

Tested by

no test coverage detected