MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / push_str_ref

Function push_str_ref

codegraph-kernel/src/buffers.rs:246–249  ·  view source on GitHub ↗
(buf: &mut Vec<u8>, r: StrRef)

Source from the content-addressed store, hash-verified

244}
245
246fn push_str_ref(buf: &mut Vec<u8>, r: StrRef) {
247 buf.extend_from_slice(&r.0.to_le_bytes());
248 buf.extend_from_slice(&r.1.to_le_bytes());
249}
250
251pub struct Tables {
252 pub nodes: Vec<u8>,

Callers 3

push_nodeMethod · 0.85
push_edgeMethod · 0.85
push_ref_flaggedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected