软件包:golang-github-google-renameio-dev(2.0.0-2)
golang-github-google-renameio-dev 的相关链接
Debian 的资源:
下载源码包 golang-github-google-renameio:
- [golang-github-google-renameio_2.0.0-2.dsc]
- [golang-github-google-renameio_2.0.0.orig.tar.gz]
- [golang-github-google-renameio_2.0.0-2.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
provides a way to atomically create or replace a file or symbolic link
The renameio Go package provides a way to atomically create or replace a file or symbolic link.
Atomicity vs durability: renameio concerns itself only with atomicity, i.e. making sure applications never see unexpected file content (a half-written file, or a 0-byte file).
As a practical example, consider https://manpages.debian.org/: if there is a power outage while the site is updating, we are okay with losing the manpages which were being rendered at the time of the power outage. They will be added in a later run of the software. We are not okay with having a manpage replaced by a 0-byte file under any circumstances, though.