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

Method join

codegraph-kernel/src/rustlang.rs:729–731  ·  view source on GitHub ↗
(prefix: &str, seg: &str)

Source from the content-addressed store, hash-verified

727 fn emit_use_binding_refs(&mut self, node: Node<'t>, from_row: u32) {
728 let mut paths: Vec<(String, Node)> = Vec::new();
729 fn join(prefix: &str, seg: &str) -> String {
730 if prefix.is_empty() { seg.to_string() } else { format!("{prefix}::{seg}") }
731 }
732 fn collect<'t>(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>) {
733 stack_guard!();
734 match n.kind() {

Callers 15

preceding_docstringFunction · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
on_small_stackFunction · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
posix_normalizeFunction · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected