Sun, 01 Dec 2024 02:27:26 UTC | login

Information for RPM ghc-atomic-write-0.2.0.7-11.rvre0.fc38.riscv64.rpm

ID1030454
Nameghc-atomic-write
Version0.2.0.7
Release11.rvre0.fc38
Epoch
Archriscv64
SummaryAtomically write to a file
DescriptionAtomically 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.
Build Time2023-06-25 12:22:57 GMT
Size27.76 KB
71bef2468bde3014321906a04e0662fc
LicenseMIT
Buildrootf38-build-726735-100309
Provides
ghc-atomic-write = 0.2.0.7-11.rvre0.fc38
ghc-atomic-write(riscv-64) = 0.2.0.7-11.rvre0.fc38
libHSatomic-write-0.2.0.7-3Le0nHq21CN6NphnFWxo87-ghc9.2.6.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSarray-0.5.4.0-ghc9.2.6.so()(64bit)
libHSbase-4.16.4.0-ghc9.2.6.so()(64bit)
libHSbinary-0.8.9.0-ghc9.2.6.so()(64bit)
libHSbytestring-0.11.4.0-ghc9.2.6.so()(64bit)
libHScontainers-0.6.5.1-ghc9.2.6.so()(64bit)
libHSdeepseq-1.4.6.1-ghc9.2.6.so()(64bit)
libHSdirectory-1.3.6.2-ghc9.2.6.so()(64bit)
libHSexceptions-0.10.4-ghc9.2.6.so()(64bit)
libHSfilepath-1.4.2.2-ghc9.2.6.so()(64bit)
libHSghc-bignum-1.2-ghc9.2.6.so()(64bit)
libHSghc-boot-th-9.2.6-ghc9.2.6.so()(64bit)
libHSghc-prim-0.8.0-ghc9.2.6.so()(64bit)
libHSmtl-2.2.2-ghc9.2.6.so()(64bit)
libHSpretty-1.1.3.6-ghc9.2.6.so()(64bit)
libHSrandom-1.2.1.1-9dwwB5T9qLUCVJfHh8Y0vo-ghc9.2.6.so()(64bit)
libHSsplitmix-0.1.0.4-KQJjjittnFFJ0Pi3510gQ0-ghc9.2.6.so()(64bit)
libHSstm-2.5.0.2-ghc9.2.6.so()(64bit)
libHStemplate-haskell-2.18.0.0-ghc9.2.6.so()(64bit)
libHStemporary-1.3-EKqdSxyEoHx5rMcsoVp3QF-ghc9.2.6.so()(64bit)
libHStext-1.2.5.0-ghc9.2.6.so()(64bit)
libHStime-1.11.1.1-ghc9.2.6.so()(64bit)
libHStransformers-0.5.6.2-ghc9.2.6.so()(64bit)
libHSunix-2.7.2.2-ghc9.2.6.so()(64bit)
libHSunix-compat-0.5.4-2Fa5hW7FPv81iCQxP5gtt5-ghc9.2.6.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.27)(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)
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 6 of 6
Name ascending sort Size
/usr/lib/.build-id0.00 B
/usr/lib/.build-id/de0.00 B
/usr/lib/.build-id/de/8ce0132afe2dfea669efc1160346359dfb237296.00 B
/usr/lib64/ghc-9.2.6/lib/libHSatomic-write-0.2.0.7-3Le0nHq21CN6NphnFWxo87-ghc9.2.6.so116.84 KB
/usr/share/licenses/ghc-atomic-write0.00 B
/usr/share/licenses/ghc-atomic-write/LICENSE1.04 KB
Component of No Buildroots