dvc.fs: fix iscopy

This commit is contained in:
Saugat Pachhai (सौगात)
2022-05-16 08:25:23 +05:45
committed by skshetry
parent dc1d3e880a
commit c6ae91c907
+1 -1
View File
@@ -321,7 +321,7 @@ class FileSystem:
return False
def iscopy(self, path: AnyFSPath) -> bool:
return self.is_symlink(path) or self.is_hardlink(path)
return not (self.is_symlink(path) or self.is_hardlink(path))
@overload
def ls(