MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / at_first_entry

Method at_first_entry

cranelift/bforest/src/path.rs:250–252  ·  view source on GitHub ↗

Is this path pointing to the first entry in the tree? This corresponds to the smallest key.

(&self)

Source from the content-addressed store, hash-verified

248 /// Is this path pointing to the first entry in the tree?
249 /// This corresponds to the smallest key.
250 fn at_first_entry(&self) -> bool {
251 self.entry[0..self.size].iter().all(|&i| i == 0)
252 }
253
254 /// Get a mutable reference to the current value.
255 /// This assumes that there is a current value.

Callers

nothing calls this directly

Calls 2

allMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected