Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> devel >> golang-github-google-renameio-dev
aramo  ]
[ 原始碼: golang-github-google-renameio  ]

套件: golang-github-google-renameio-dev (2.0.0-1)

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.

下載 golang-github-google-renameio-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10.0 kB55 kB [文件列表]