MCPcopy
hub / github.com/cool-RR/PySnooper / unlink

Method unlink

tests/mini_toolbox/pathlib.py:1489–1496  ·  view source on GitHub ↗

Remove this file or link. If the path is a directory, use rmdir() instead.

(self)

Source from the content-addressed store, hash-verified

1487 self._accessor.lchmod(self, mode)
1488
1489 def unlink(self):
1490 """
1491 Remove this file or link.
1492 If the path is a directory, use rmdir() instead.
1493 """
1494 if self._closed:
1495 self._raise_closed()
1496 self._accessor.unlink(self)
1497
1498 def rmdir(self):
1499 """

Callers 4

test_unavailable_sourceFunction · 0.80
test_valid_zipfileFunction · 0.80
test_invalid_zipfileFunction · 0.80

Calls 1

_raise_closedMethod · 0.95

Tested by 4

test_unavailable_sourceFunction · 0.64
test_valid_zipfileFunction · 0.64
test_invalid_zipfileFunction · 0.64