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

Method program_file

crates/ty_python_core/src/program.rs:51–53  ·  view source on GitHub ↗
(self, db: &'db dyn Db, file: File)

Source from the content-addressed store, hash-verified

49 }
50
51 pub fn program_file(self, db: &'db dyn Db, file: File) -> ProgramFile<'db> {
52 ProgramFile::new(db, file, self)
53 }
54
55 pub fn custom_stdlib_search_path(self, db: &'db dyn Db) -> Option<&'db SystemPath> {
56 self.search_paths(db).custom_stdlib()

Callers 15

place_tableFunction · 0.45
use_def_mapFunction · 0.45
attribute_scopesFunction · 0.45
program_fileFunction · 0.45
scope_namesFunction · 0.45
fileMethod · 0.45
python_fileMethod · 0.45
target_scopeMethod · 0.45
fileMethod · 0.45
python_fileMethod · 0.45
scopeMethod · 0.45
fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected