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

Function docstring_space

codegraph-kernel/src/python.rs:74–77  ·  view source on GitHub ↗
(c: char)

Source from the content-addressed store, hash-verified

72}
73
74fn docstring_space(c: char) -> bool {
75 // Match JavaScript trim, including BOM but excluding NEXT LINE.
76 (c.is_whitespace() && c != '\u{85}') || c == '\u{feff}'
77}
78
79fn dedent_docstring(raw: &str) -> String {
80 let normalized = raw.replace("\r\n", "\n").replace('\r', "\n");

Callers 1

dedent_docstringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected