Tue, 05 Nov 2024 16:53:15 UTC | login

Information for RPM ghc-atomic-write-0.2.0.7-17.fc41.riscv64.rpm

ID1428783
Nameghc-atomic-write
Version0.2.0.7
Release17.fc41
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 Time2024-08-12 13:53:14 GMT
Size23.43 KB
1703e02cf097264d124e6a53cd05f1c2
LicenseMIT
Buildrootf41-build-839667-160289
Provides
ghc-atomic-write = 0.2.0.7-17.fc41
ghc-atomic-write(riscv-64) = 0.2.0.7-17.fc41
libHSatomic-write-0.2.0.7-be3EqRwdCdGR7fwVUuhZ-ghc9.6.6.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSarray-0.5.6.0-ghc9.6.6.so()(64bit)
libHSbase-4.18.2.1-ghc9.6.6.so()(64bit)
libHSbinary-0.8.9.1-ghc9.6.6.so()(64bit)
libHSbytestring-0.11.5.3-ghc9.6.6.so()(64bit)
libHScontainers-0.6.7-ghc9.6.6.so()(64bit)
libHSdeepseq-1.4.8.1-ghc9.6.6.so()(64bit)
libHSdirectory-1.3.8.5-ghc9.6.6.so()(64bit)
libHSexceptions-0.10.7-ghc9.6.6.so()(64bit)
libHSfilepath-1.4.300.1-ghc9.6.6.so()(64bit)
libHSghc-bignum-1.3-ghc9.6.6.so()(64bit)
libHSghc-boot-th-9.6.6-ghc9.6.6.so()(64bit)
libHSghc-prim-0.10.0-ghc9.6.6.so()(64bit)
libHSmtl-2.3.1-ghc9.6.6.so()(64bit)
libHSpretty-1.1.3.6-ghc9.6.6.so()(64bit)
libHSrandom-1.2.1.2-9nSipNyPzIK3OtGny4BWjI-ghc9.6.6.so()(64bit)
libHSsplitmix-0.1.0.5-1g4Y67JB8lK4ODDsw0vzN6-ghc9.6.6.so()(64bit)
libHSstm-2.5.1.0-ghc9.6.6.so()(64bit)
libHStemplate-haskell-2.20.0.0-ghc9.6.6.so()(64bit)
libHStemporary-1.3-2b5Hfg9yeqPDkszEuTu2EQ-ghc9.6.6.so()(64bit)
libHStext-2.0.2-ghc9.6.6.so()(64bit)
libHStime-1.12.2-ghc9.6.6.so()(64bit)
libHStransformers-0.6.1.0-ghc9.6.6.so()(64bit)
libHSunix-2.8.4.0-ghc9.6.6.so()(64bit)
libHSunix-compat-0.7.2-1NxbmsUJVnDDNnvOywKtoI-ghc9.6.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/ab0.00 B
/usr/lib/.build-id/ab/c1b9765d83c78d6a8593fd5b8b83d23ac3a55f94.00 B
/usr/lib64/ghc-9.6.6/lib/libHSatomic-write-0.2.0.7-be3EqRwdCdGR7fwVUuhZ-ghc9.6.6.so81.56 KB
/usr/share/licenses/ghc-atomic-write0.00 B
/usr/share/licenses/ghc-atomic-write/LICENSE1.04 KB
Component of
1 through 2 of 2
Buildroot descending sort Created State
f41-build-840862-160994 2024-08-14 06:45:07 expired
f41-build-840816-160954 2024-08-14 03:35:20 expired