Metadata for ghc-atomic-write-0.2.0.7-5.el9.x86_64.rpm

0 directories 0 files
Go up

INFO

Name: ghc-atomic-write
Version: 0.2.0.7-5.el9
Arch: x86_64
Summary: Atomically write to a file
License: MIT
Vendor: Fedora Project
Build Host: buildvm-x86-12.iad2.fedoraproject.org
Build Date: Tue Oct 18 08:09:18 2022
Size: 74559
URL: https://hackage.haskell.org/package/atomic-write
Description: Atomically write to a file on POSIX-compliant systems while preserving
permissions.

On most Unix systems, `mv` is an atomic operation. This makes it simple to
write to a file atomically just by using the mv operation. However, this will
destroy the permissions on the original file. This library does the following
to preserve permissions while atomically writing to a file:

* If an original file exists, take those permissions and apply them to the temp
file before `mv`ing the file into place.

* If the original file does not exist, create a following with default
permissions (based on the currently-active umask).

This way, when the file is `mv`'ed into place, the permissions will be the ones
held by the original file.

This library is based on similar implementations found in common libraries in
Ruby and Python:

* 

*


* 

To use `atomic-write`, import the module corresponding to the type you wish to
write atomically, e.g., to write a (strict) ByteString atomically:

> import System.AtomicWrite.Writer.ByteString

Then you can use the atomicWriteFile function that accepts a `FilePath` and a
`ByteString`, e.g.:

> atomicWriteFile myFilePath myByteString.

FILES

/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/78bf94dfce0872a03fd6964ec6a5fef601a887
/usr/lib64/libHSatomic-write-0.2.0.7-7YwCbtQcNCmBWaJmJSXewn-ghc8.10.7.so
/usr/share/licenses/ghc-atomic-write
/usr/share/licenses/ghc-atomic-write/LICENSE

REQUIRES

libHSarray-0.5.4.0-ghc8.10.7.so()(64bit)
libHSbase-4.14.3.0-ghc8.10.7.so()(64bit)
libHSbinary-0.8.8.0-ghc8.10.7.so()(64bit)
libHSbytestring-0.10.12.0-ghc8.10.7.so()(64bit)
libHScontainers-0.6.5.1-ghc8.10.7.so()(64bit)
libHSdeepseq-1.4.4.0-ghc8.10.7.so()(64bit)
libHSdirectory-1.3.6.0-ghc8.10.7.so()(64bit)
libHSexceptions-0.10.4-ghc8.10.7.so()(64bit)
libHSfilepath-1.4.2.1-ghc8.10.7.so()(64bit)
libHSghc-boot-th-8.10.7-ghc8.10.7.so()(64bit)
libHSghc-prim-0.6.1-ghc8.10.7.so()(64bit)
libHSinteger-gmp-1.0.3.0-ghc8.10.7.so()(64bit)
libHSmtl-2.2.2-ghc8.10.7.so()(64bit)
libHSpretty-1.1.3.6-ghc8.10.7.so()(64bit)
libHSrandom-1.2.0-KwELIRRPk7PAcyDfwXEvGo-ghc8.10.7.so()(64bit)
libHSsplitmix-0.1.0.3-EyzgLNoP6DEInch8Jq19NJ-ghc8.10.7.so()(64bit)
libHSstm-2.5.0.1-ghc8.10.7.so()(64bit)
libHStemplate-haskell-2.16.0.0-ghc8.10.7.so()(64bit)
libHStemporary-1.3-JEYQHtJ8tvuIz1ZJWBzBrR-ghc8.10.7.so()(64bit)
libHStext-1.2.4.1-ghc8.10.7.so()(64bit)
libHStime-1.9.3-ghc8.10.7.so()(64bit)
libHStransformers-0.5.6.2-ghc8.10.7.so()(64bit)
libHSunix-2.7.2.2-ghc8.10.7.so()(64bit)
libHSunix-compat-0.5.4-9pnwdSgqQ6VGBo7SYUv7AI-ghc8.10.7.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libgmp.so.10()(64bit)
libm.so.6()(64bit)
rpmlib(CompressedFileNames) 3.0.4-1
rpmlib(FileDigests) 4.6.0-1
rpmlib(PayloadFilesHavePrefix) 4.0-1
rpmlib(PayloadIsZstd) 5.4.18-1
rtld(GNU_HASH)

PROVIDES

ghc-atomic-write 0.2.0.7-5.el9
ghc-atomic-write(x86-64) 0.2.0.7-5.el9
libHSatomic-write-0.2.0.7-7YwCbtQcNCmBWaJmJSXewn-ghc8.10.7.so()(64bit)

CONFIG FILES

/usr/lib/.build-id a
/usr/lib/.build-id/fc a
/usr/lib/.build-id/fc/78bf94dfce0872a03fd6964ec6a5fef601a887 a
/usr/lib64/libHSatomic-write-0.2.0.7-7YwCbtQcNCmBWaJmJSXewn-ghc8.10.7.so
/usr/share/licenses/ghc-atomic-write
/usr/share/licenses/ghc-atomic-write/LICENSE l

LICENSE FILES

MIT