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

Method python_file

crates/ty_python_core/src/unpack.rs:65–67  ·  view source on GitHub ↗
(self, db: &'db dyn Db)

Source from the content-addressed store, hash-verified

63 }
64
65 pub fn python_file(self, db: &'db dyn Db) -> PythonFile<'db> {
66 self.program_file(db).python_file(db)
67 }
68
69 pub fn target<'ast>(self, db: &'db dyn Db, parsed: &'ast ParsedModuleRef) -> &'ast ast::Expr {
70 self._target(db).node(parsed)

Callers

nothing calls this directly

Calls 1

program_fileMethod · 0.45

Tested by

no test coverage detected