Fri, 04 Oct 2024 04:04:43 UTC | login

Information for RPM ghc-atomic-write-0.2.0.7-14.fc40.riscv64.rpm

ID1181298
Nameghc-atomic-write
Version0.2.0.7
Release14.fc40
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-02-17 07:33:16 GMT
Size24.91 KB
45d7d926ddaf44a021fa672277c74da3
LicenseMIT
Buildrootf40-build-776970-129159
Provides
ghc-atomic-write = 0.2.0.7-14.fc40
ghc-atomic-write(riscv-64) = 0.2.0.7-14.fc40
libHSatomic-write-0.2.0.7-BHgjYBDDCrRI4YAFFMs16P-ghc9.4.5.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSarray-0.5.4.0-ghc9.4.5.so()(64bit)
libHSbase-4.17.1.0-ghc9.4.5.so()(64bit)
libHSbinary-0.8.9.1-ghc9.4.5.so()(64bit)
libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit)
libHScontainers-0.6.7-ghc9.4.5.so()(64bit)
libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit)
libHSdirectory-1.3.7.1-ghc9.4.5.so()(64bit)
libHSexceptions-0.10.5-ghc9.4.5.so()(64bit)
libHSfilepath-1.4.2.2-ghc9.4.5.so()(64bit)
libHSghc-bignum-1.3-ghc9.4.5.so()(64bit)
libHSghc-boot-th-9.4.5-ghc9.4.5.so()(64bit)
libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit)
libHSmtl-2.2.2-ghc9.4.5.so()(64bit)
libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit)
libHSrandom-1.2.1.1-I0wUgAAbf0g3qHR3e8uT0o-ghc9.4.5.so()(64bit)
libHSsplitmix-0.1.0.4-7e8CibdlMRLAGh7KO5VlFe-ghc9.4.5.so()(64bit)
libHSstm-2.5.1.0-ghc9.4.5.so()(64bit)
libHStemplate-haskell-2.19.0.0-ghc9.4.5.so()(64bit)
libHStemporary-1.3-KN2n9biIwqhKwQrFoVkYR8-ghc9.4.5.so()(64bit)
libHStext-2.0.2-ghc9.4.5.so()(64bit)
libHStime-1.12.2-ghc9.4.5.so()(64bit)
libHStransformers-0.5.6.2-ghc9.4.5.so()(64bit)
libHSunix-2.7.3-ghc9.4.5.so()(64bit)
libHSunix-compat-0.7-1AOXuUotwOtNQ9bjxKdMG-ghc9.4.5.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/820.00 B
/usr/lib/.build-id/82/5bf2b7481b1ebcddd96933452e426e66d2563996.00 B
/usr/lib64/ghc-9.4.5/lib/libHSatomic-write-0.2.0.7-BHgjYBDDCrRI4YAFFMs16P-ghc9.4.5.so90.40 KB
/usr/share/licenses/ghc-atomic-write0.00 B
/usr/share/licenses/ghc-atomic-write/LICENSE1.04 KB
Component of No Buildroots