We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eac40d commit b8dd422Copy full SHA for b8dd422
dvc/system.py
@@ -22,13 +22,15 @@ def copy(src, dest):
22
23
@staticmethod
24
def hardlink(source, link_name):
25
+ source, link_name = fspath(source), fspath(link_name)
26
try:
27
os.link(source, link_name)
28
except OSError as exc:
29
raise DvcException("failed to link") from exc
30
31
32
def symlink(source, link_name):
33
34
35
os.symlink(source, link_name)
36
0 commit comments