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

Method text

codegraph-kernel/src/go.rs:183–185  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

181
182impl<'t> Walker<'t> {
183 fn text(&self, node: Node) -> &'t str {
184 &self.src[node.byte_range()]
185 }
186 fn line_of(&self, node: Node) -> u32 {
187 node.start_position().row as u32 + 1
188 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected