MCPcopy Create free account
hub / github.com/PerroEngine/Perro / line_number_at

Function line_number_at

perro_source/devtools/perro_cli/src/doctor.rs:260–266  ·  view source on GitHub ↗
(text: &str, byte_index: usize)

Source from the content-addressed store, hash-verified

258 project_dir: &Path,
259 source_file: Option<&Path>,
260 source_line: Option<usize>,
261 raw_ref: &str,
262 report: &mut ValidationReport,
263) {
264 validate_named_virtual_ref(
265 project_dir,
266 source_file,
267 source_line,
268 raw_ref,
269 raw_ref,

Callers 3

extract_virtual_refsFunction · 0.85

Calls 3

bytesMethod · 0.45
minMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected