Get the header file path by replacing .c with .h
(self)
| 69 | return hash(("SourceDep", self.path)) |
| 70 | |
| 71 | def get_header(self) -> str: |
| 72 | """Get the header file path by replacing .c with .h""" |
| 73 | return self.path.replace(".c", ".h") |
| 74 | |
| 75 | |
| 76 | class HeaderDep: |