MCPcopy Index your code
hub / github.com/nodejs/node / try_unlink

Function try_unlink

tools/install.py:25–29  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

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

Callers 3

try_symlinkFunction · 0.85
try_copyFunction · 0.85
try_removeFunction · 0.85

Calls 1

unlinkMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…