(func, path, exc_info)
| 186 | ## Removed sanitizer per request: do not mutate user-generated TeX |
| 187 | |
| 188 | def _on_rm_error(func, path, exc_info): |
| 189 | # fix "PermissionError: [Errno 13] Permission denied" for readonly files |
| 190 | os.chmod(path, stat.S_IWRITE) |
| 191 | func(path) |
| 192 | |
| 193 | def _copytree(src: Path, dst: Path, symlinks=True, ignore=None): |
| 194 | if dst.exists(): |
nothing calls this directly
no outgoing calls
no test coverage detected