diff options
author | v-korovin <v-korovin@yandex-team.ru> | 2022-02-10 16:46:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:20 +0300 |
commit | c4e0c5d2f245076d63ccff1004c755ca0cc5d27b (patch) | |
tree | 0c6b0402dc17d5d1beffbe9350d2d6802207e123 /library/python/fs | |
parent | b86334f8eb651237aceaa035bebb519893d6d077 (diff) | |
download | ydb-c4e0c5d2f245076d63ccff1004c755ca0cc5d27b.tar.gz |
Restoring authorship annotation for <v-korovin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/python/fs')
-rw-r--r-- | library/python/fs/clonefile.pyx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/python/fs/clonefile.pyx b/library/python/fs/clonefile.pyx index 830bb894f2..fc2551039f 100644 --- a/library/python/fs/clonefile.pyx +++ b/library/python/fs/clonefile.pyx @@ -1,5 +1,5 @@ -import six - +import six + cdef extern from "sys/clonefile.h" nogil: int clonefile(const char * src, const char * dst, int flags) @@ -15,4 +15,4 @@ cdef int _macos_clone_file(const char* src, const char* dst) except? 0: return 1 def macos_clone_file(src, dst): - return _macos_clone_file(six.ensure_binary(src), six.ensure_binary(dst)) != 0 + return _macos_clone_file(six.ensure_binary(src), six.ensure_binary(dst)) != 0 |