MCPcopy Index your code
hub / github.com/python/cpython / symlink_to

Method symlink_to

Lib/pathlib/__init__.py:1406–1411  ·  view source on GitHub ↗

Make this path a symlink pointing to the target path. Note the order of arguments (link, target) is the reverse of os.symlink.

(self, target, target_is_directory=False)

Source from the content-addressed store, hash-verified

1404
1405 if hasattr(os, "symlink"):
1406 def symlink_to(self, target, target_is_directory=False):
1407 """
1408 Make this path a symlink pointing to the target path.
1409 Note the order of arguments (link, target) is the reverse of os.symlink.
1410 """
1411 os.symlink(target, self, target_is_directory)
1412 else:
1413 def symlink_to(self, target, target_is_directory=False):
1414 """

Callers 2

create_xcframeworkFunction · 0.45
clone_testbedFunction · 0.45

Calls 1

Tested by

no test coverage detected