packages feed

libarchive 2.1.1.0 → 2.1.2.0

raw patch · 4 files changed

+10/−3 lines, 4 files

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # libarchive +## 2.1.2.0++  * More complete API+ ## 2.1.1.0    * Remove weeds, export things that were missing from past releases
libarchive.cabal view
@@ -1,6 +1,6 @@ cabal-version:   1.18 name:            libarchive-version:         2.1.1.0+version:         2.1.2.0 license:         BSD3 license-file:    LICENSE copyright:       Copyright: (c) 2018-2019 Vanessa McHale
src/Codec/Archive/Foreign/ArchiveEntry.chs view
@@ -52,6 +52,7 @@                                           , archiveEntrySizeIsSet                                           , archiveEntryStrmode                                           , archiveEntrySymlink+                                          , archiveEntrySymlinkType                                           , archiveEntrySymlinkW                                           , archiveEntrySymlinkUtf8                                           , archiveEntryUid@@ -207,6 +208,7 @@                                           -- * Lower-level API types                                           , FileType (..)                                           , EntryACL+                                          , Symlink (..)                                           -- * Type synonyms                                           , ArchiveEntryPtr                                           , LinkResolverPtr@@ -288,6 +290,8 @@ {# fun archive_entry_size as ^ { `ArchiveEntryPtr' } -> `LaInt64' #} {# fun archive_entry_strmode as ^ { `ArchiveEntryPtr' } -> `CString' #} {# fun archive_entry_symlink as ^ { `ArchiveEntryPtr' } -> `CString' #}+-- | @since 2.1.2.0+{# fun archive_entry_symlink_type as ^ { `ArchiveEntryPtr' } -> `Symlink' #} {# fun archive_entry_symlink_w as ^ { `ArchiveEntryPtr' } -> `CWString' #} {# fun archive_entry_symlink_utf8 as ^ { `ArchiveEntryPtr' } -> `CString' #} {# fun archive_entry_uid as ^ { `ArchiveEntryPtr' } -> `LaInt64' #}
src/Codec/Archive/Monad.hs view
@@ -15,9 +15,8 @@ import           Data.ByteString        (useAsCStringLen) import qualified Data.ByteString        as BS import           Foreign.C.String-import           Foreign.Marshal.Alloc  (alloca, allocaBytes)+import           Foreign.Marshal.Alloc  (allocaBytes) import           Foreign.Ptr            (Ptr)-import           Foreign.Storable       (Storable)  type ArchiveM = ExceptT ArchiveResult IO