(input: Optional[NinjaPath])
| 209 | |
| 210 | |
| 211 | def serialize_path(input: Optional[NinjaPath]) -> str: |
| 212 | if not input: |
| 213 | return "" |
| 214 | if isinstance(input, Path): |
| 215 | return str(input).replace("/", os.sep) |
| 216 | else: |
| 217 | return str(input) |
| 218 | |
| 219 | |
| 220 | def serialize_paths(input: Optional[NinjaPathOrPaths]) -> List[str]: |
no outgoing calls
no test coverage detected