Safe "atomic" saving of files
14.10 KB
built 2026-10-29 08:54:52 GMT
Description
Go package safefile implements safe "atomic" saving of files.
Instead of truncating and overwriting the destination file, it creates a
temporary file in the same directory, writes to it, and then renames the
temporary file to the original name when calling Commit.
This package contains the source code needed for building packages that
reference the following Go import paths:
– github.com/dchest/safefile
Dependencies
10 totalRequires5
- go-filesystem
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
- golang(github.com/dchest/safefile) = 0-21.20180529git855e8d9.fc45
- golang(github.com/dchest/safefile)(commit=855e8d98f1852d48dde521e0522408d1fe7e836a) = 0-21.20180529git855e8d9.fc45
- golang-github-dchest-safefile-devel = 0-21.20180529git855e8d9.fc45
- golang-ipath(github.com/dchest/safefile) = 0-21.20180529git855e8d9.fc45
- golang-ipath(github.com/dchest/safefile)(commit=855e8d98f1852d48dde521e0522408d1fe7e836a) = 0-21.20180529git855e8d9.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
12
Files 1–12 of 12
Component of
buildroots that installed this RPMNo Buildroots
