Skip to content

contextcraft.File

Python
File(id: int, path: str, language: str | None, has_source: bool, has_syntax_errors: bool, source_bytes: int = 0) -> None

Attributes:

contextcraft.File.has_source

Python
has_source: bool

contextcraft.File.has_syntax_errors

Python
has_syntax_errors: bool

contextcraft.File.id

Python
id: int

contextcraft.File.language

Python
language: str | None

contextcraft.File.path

Python
path: str

contextcraft.File.source_bytes

Python
source_bytes: int = 0