diff options
| author | v-korovin <[email protected]> | 2022-02-10 16:46:21 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:21 +0300 |
| commit | 637de640c39b46c13f29619057a54f4cf3e1241b (patch) | |
| tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/python/fs | |
| parent | c4e0c5d2f245076d63ccff1004c755ca0cc5d27b (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 fc2551039ff..830bb894f2e 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 |
