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

Method program_file

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

Source from the content-addressed store, hash-verified

46 }
47
48 pub fn program_file(self, db: &'db dyn Db, file: File) -> ProgramFile<'db> {
49 ProgramFile::new(db, file, self)
50 }
51
52 pub fn custom_stdlib_search_path(self, db: &'db dyn Db) -> Option<&'db SystemPath> {
53 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