MCPcopy Create free account
hub / github.com/douglance/devsql / line_text

Function line_text

crates/devsql/src/providers/symbols.rs:473–475  ·  view source on GitHub ↗
(content: &str, line_num: usize)

Source from the content-addressed store, hash-verified

471}
472
473fn line_text(content: &str, line_num: usize) -> &str {
474 content.lines().nth(line_num.saturating_sub(1)).unwrap_or("")
475}
476
477// --- Regex fallback extractors (unchanged logic) ---
478

Callers 4

extract_rustFunction · 0.85
extract_ts_jsFunction · 0.85
extract_pythonFunction · 0.85
extract_goFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected