(path)
| 23 | return c.startswith(p) and c != p |
| 24 | |
| 25 | def try_unlink(path): |
| 26 | try: |
| 27 | os.unlink(path) |
| 28 | except OSError as e: |
| 29 | if e.errno != errno.ENOENT: raise |
| 30 | |
| 31 | def try_symlink(options, source_path, link_path): |
| 32 | if not options.silent: |
no test coverage detected
searching dependent graphs…