Thu, 13 Jun 2024 09:11:44 UTC | login

Information for RPM ghc-atomic-write-0.2.0.7-7.fc37.riscv64.rpm

ID865209
Nameghc-atomic-write
Version0.2.0.7
Release7.fc37
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 Time2022-11-01 09:47:14 GMT
Size30.46 KB
d716ee867ac7cf8461d512bb3a7b650d
LicenseMIT
Buildrootf37-build-663996-74008
Provides
ghc-atomic-write = 0.2.0.7-7.fc37
ghc-atomic-write(riscv-64) = 0.2.0.7-7.fc37
libHSatomic-write-0.2.0.7-BvyogDM1yqjLJYHVtiS6AF-ghc8.10.7.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
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-7NEri0isMba8ar4RRYZSIY-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.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/c70.00 B
/usr/lib/.build-id/c7/fca74dac57a06e63650f1a56b4ee663a76768c83.00 B
/usr/lib64/libHSatomic-write-0.2.0.7-BvyogDM1yqjLJYHVtiS6AF-ghc8.10.7.so128.74 KB
/usr/share/licenses/ghc-atomic-write0.00 B
/usr/share/licenses/ghc-atomic-write/LICENSE1.04 KB
Component of
1 through 1 of 1
Buildroot descending sort Created State
f37-build-681078-77140 2023-01-13 05:46:37 expired