Extract the file path from the entry point specification. The entry point format is '{file_path}::{function_name}', and this method returns the file path component as a Path object. Returns ------- Path The relative path to the entry source file
(self)
| 283 | return self |
| 284 | |
| 285 | def get_entry_path(self) -> Path: |
| 286 | """Extract the file path from the entry point specification. |
| 287 | |
| 288 | The entry point format is '{file_path}::{function_name}', and this method |
| 289 | returns the file path component as a Path object. |
| 290 | |
| 291 | Returns |
| 292 | ------- |
| 293 | Path |
| 294 | The relative path to the entry source file (e.g., 'main.py', 'src/kernel.cu'). |
| 295 | """ |
| 296 | return Path(self.spec.entry_point.split("::")[0]) |
| 297 | |
| 298 | def get_entry_symbol(self) -> str: |
| 299 | """Extract the function/symbol name from the entry point specification. |
nothing calls this directly
no outgoing calls
no test coverage detected