MCPcopy Create free account
hub / github.com/catboost/catboost / hardlink

Function hardlink

library/python/fs/__init__.py:192–196  ·  view source on GitHub ↗
(src, lnk)

Source from the content-addressed store, hash-verified

190# If dst exists - throws OSError (errno EEXIST)
191@errorfix_win
192def hardlink(src, lnk):
193 if library.python.windows.on_win():
194 library.python.windows.hardlink(src, lnk)
195 else:
196 os.link(src, lnk)
197
198
199# Atomic file/directory symlink (Unix only)

Callers 1

hardlink_or_copyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected