Return a list of descriptions of file operations for each incremental step. The first list item corresponds to the first incremental step, the second for the second step, etc. Each operation can either be a file modification/creation (UpdateFile) or deletion (DeleteFile).
(self)
| 412 | return f"data: {self.file}:{self.line}:\n{excrepr}" |
| 413 | |
| 414 | def find_steps(self) -> list[list[FileOperation]]: |
| 415 | """Return a list of descriptions of file operations for each incremental step. |
| 416 | |
| 417 | The first list item corresponds to the first incremental step, the second for the |
| 418 | second step, etc. Each operation can either be a file modification/creation (UpdateFile) |
| 419 | or deletion (DeleteFile). |
| 420 | |
| 421 | Defaults to having two steps if there aern't any operations. |
| 422 | """ |
| 423 | return self.steps |
| 424 | |
| 425 | |
| 426 | def module_from_path(path: str) -> str: |
no outgoing calls