MCPcopy Create free account
hub / github.com/astral-sh/ruff / text

Method text

crates/ruff_python_formatter/src/string/normalize.rs:636–638  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

634
635impl<'a> NormalizedString<'a> {
636 pub(crate) fn text(&self) -> &Cow<'a, str> {
637 &self.text
638 }
639
640 pub(crate) fn flags(&self) -> AnyStringFlags {
641 self.flags

Callers 1

formatFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected