SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-atomic-write rpm build for : Fedora 34. For other distributions click ghc-atomic-write.

Name : ghc-atomic-write
Version : 0.2.0.7 Vendor : Fedora Project
Release : 2.fc34 Date : 2021-01-26 09:12:37
Group : Unspecified Source RPM : ghc-atomic-write-0.2.0.7-2.fc34.src.rpm
Size : 0.07 MB
Packager : Fedora Project
Summary : Atomically write to a file
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:

* < http://apidock.com/rails/File/atomic_write/class Ruby on Rails includes a
similar method called atomic_write>

*
< https://github.com/chef/chef/blob/c4631816132fcfefaba3d123a1d0dfe8bc2866bb/lib/chef/file_content_management/deploy/mv_unix.rb#L23:L71
Chef includes atomic update functionality>

* < https://github.com/sashka/atomicfile There is a python library for
atomically updating a file>

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.

RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/releases/34/Everything/x86_64/os/Packages/g

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  ghc-atomic-write-0.2.0.7-2.fc34.x86_64.rpm
     

Provides :
ghc-atomic-write
ghc-atomic-write(x86-64)
libHSatomic-write-0.2.0.7-2T9Qcmt1Uky1TLEJV4yszz-ghc8.8.4.so()(64bit)

Requires :
libHSbase-4.13.0.0-ghc8.8.4.so()(64bit)
libHSbytestring-0.10.10.1-ghc8.8.4.so()(64bit)
libHSdirectory-1.3.6.0-ghc8.8.4.so()(64bit)
libHSfilepath-1.4.2.1-ghc8.8.4.so()(64bit)
libHSghc-prim-0.5.3-ghc8.8.4.so()(64bit)
libHStext-1.2.4.0-ghc8.8.4.so()(64bit)
libHSunix-2.7.2.2-ghc8.8.4.so()(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)


Content of RPM :
/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/53c72421ec7e56a4da6d4e585a3e4808649f34
/usr/lib64/libHSatomic-write-0.2.0.7-2T9Qcmt1Uky1TLEJV4yszz-ghc8.8.4.so
/usr/share/licenses/ghc-atomic-write
/usr/share/licenses/ghc-atomic-write/LICENSE

 
ICM