From 2cffae8dcd70e9a8f95c790d46d40ea931ffc8ae Mon Sep 17 00:00:00 2001 From: Rich Young <916491+richnetdesign@users.noreply.github.com> Date: Mon, 15 Nov 2021 21:48:15 -0500 Subject: [PATCH 1/2] symlink --- libarchive/_libarchive.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libarchive/_libarchive.py b/libarchive/_libarchive.py index a2cb2cc..0df844c 100644 --- a/libarchive/_libarchive.py +++ b/libarchive/_libarchive.py @@ -368,6 +368,10 @@ def archive_entry_mtime(*args): return __libarchive.archive_entry_mtime(*args) archive_entry_mtime = __libarchive.archive_entry_mtime +def archive_entry_symlink(*args): + return __libarchive.archive_entry_symlink(*args) +archive_entry_symlink = __libarchive.archive_entry_symlink + def archive_entry_filetype(*args): return __libarchive.archive_entry_filetype(*args) archive_entry_filetype = __libarchive.archive_entry_filetype @@ -388,6 +392,10 @@ def archive_entry_set_mtime(*args): return __libarchive.archive_entry_set_mtime(*args) archive_entry_set_mtime = __libarchive.archive_entry_set_mtime +def archive_entry_set_symlink(*args): + return __libarchive.archive_entry_set_symlink (*args) +archive_entry_set_symlink = __libarchive.archive_entry_set_symlink + def archive_entry_set_filetype(*args): return __libarchive.archive_entry_set_filetype(*args) archive_entry_set_filetype = __libarchive.archive_entry_set_filetype From e9597eaa2afd998fdf8735e97baef298fe448179 Mon Sep 17 00:00:00 2001 From: Richard Young Date: Mon, 15 Nov 2021 22:35:44 -0500 Subject: [PATCH 2/2] additional api --- libarchive/_libarchive.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libarchive/_libarchive.py b/libarchive/_libarchive.py index 0df844c..3938902 100644 --- a/libarchive/_libarchive.py +++ b/libarchive/_libarchive.py @@ -396,6 +396,10 @@ def archive_entry_set_symlink(*args): return __libarchive.archive_entry_set_symlink (*args) archive_entry_set_symlink = __libarchive.archive_entry_set_symlink +def archive_entry_set_link(*args): + return __libarchive.archive_entry_set_link (*args) +archive_entry_set_link = __libarchive.archive_entry_set_link + def archive_entry_set_filetype(*args): return __libarchive.archive_entry_set_filetype(*args) archive_entry_set_filetype = __libarchive.archive_entry_set_filetype