| 1 |
Source: golang-github-google-renameio |
| 2 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 |
Uploaders: Anthony Fok <[email protected]> |
| 4 |
Section: devel |
| 5 |
Testsuite: autopkgtest-pkg-go |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 12), |
| 8 |
dh-golang, |
| 9 |
golang-any |
| 10 |
Standards-Version: 4.6.0 |
| 11 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-google-renameio |
| 12 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-google-renameio.git |
| 13 |
Homepage: https://github.com/google/renameio |
| 14 |
Rules-Requires-Root: no |
| 15 |
XS-Go-Import-Path: github.com/google/renameio |
| 16 |
|
| 17 |
Package: golang-github-google-renameio-dev |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends} |
| 20 |
Multi-Arch: foreign |
| 21 |
Description: provides a way to atomically create or replace a file or symbolic link |
| 22 |
The renameio Go package provides a way to atomically create or replace a |
| 23 |
file or symbolic link. |
| 24 |
. |
| 25 |
Atomicity vs durability: renameio concerns itself only with atomicity, |
| 26 |
i.e. making sure applications never see unexpected file content |
| 27 |
(a half-written file, or a 0-byte file). |
| 28 |
. |
| 29 |
As a practical example, consider https://manpages.debian.org/: if there |
| 30 |
is a power outage while the site is updating, we are okay with losing the |
| 31 |
manpages which were being rendered at the time of the power outage. They |
| 32 |
will be added in a later run of the software. We are not okay with having |
| 33 |
a manpage replaced by a 0-byte file under any circumstances, though. |