zip-2.0.0: Operations on zip archives
Copyright© 2016–present Mark Karpov
LicenseBSD 3 clause
MaintainerMark Karpov <markkarpov92@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.Archive.Zip.Unix

Description

Unix-specific functionality of zip archives.

Since: 1.4.0

Synopsis

Documentation

toFileMode :: Word32 -> CMode Source #

Convert external attributes to the file info.

>>> toFileMode 2179792896
0o0755

Since: 1.4.0

fromFileMode :: CMode -> Word32 Source #

Convert external attributes to the file info. The function assumes a regular file and keeps DOS attributes untouched.

>>> fromFileMode 0o0755
2179792896

Since: 1.4.0