Safe "atomic" saving of files
18.48 KB
built 2026-10-29 08:54:36 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.
Dependencies
4 totalRequires3
- go-rpm-macros
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- golang-github-dchest-safefile-devel = 0-21.20180529git855e8d9.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| golang-github-dchest-safefile.spec | 4.25 KB |
| safefile-855e8d98f1852d48dde521e0522408d1fe7e836a.tar.gz | 4.84 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
