(path: Path, text: str = "x", seconds_ago: float = 0.0)
| 3341 | |
| 3342 | |
| 3343 | def _write(path: Path, text: str = "x", seconds_ago: float = 0.0) -> Path: |
| 3344 | path.parent.mkdir(parents=True, exist_ok=True) |
| 3345 | path.write_text(text) |
| 3346 | when = datetime.now(timezone.utc).timestamp() - seconds_ago |
| 3347 | os.utime(path, (when, when)) |
| 3348 | return path |
| 3349 | |
| 3350 | |
| 3351 | def _a_project_recorded(directory: Path, minutes_ago: float = 10) -> None: |
no outgoing calls
no test coverage detected