Skip to content

Commit 3ca5fac

Browse files
authored
sdk: fix Python clone method docstring to include directory support (#6329)
1 parent b85f7ab commit 3ca5fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/juicefs/juicefs/juicefs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def removexattr(self, path, name):
355355
self.lib.jfs_removeXattr(c_int64(_tid()), c_int64(self.h), _bin(path), _bin(name))
356356

357357
def clone(self, src, dst, preserve=False):
358-
"""Clone a file."""
358+
"""Clone a file or directory."""
359359
self.lib.jfs_clone(c_int64(_tid()), c_int64(self.h), _bin(src), _bin(dst), c_bool(preserve))
360360

361361
def set_quota(self, path, capacity=0, inodes=0, create=False, strict=False):

0 commit comments

Comments
 (0)