Web lists-archives.com

Bug#893329: ITP: golang-github-facebookgo-atomicfile -- Package atomicfile provides an atomically written/replaced file.




Package: wnpp
Severity: wishlist
Owner: Eric Dorland <eric@xxxxxxxxxx>

* Package name    : golang-github-facebookgo-atomicfile
  Version         : 0.0~git20151019.2de1f20-1
  Upstream Author : Facebook Go
* URL             : https://github.com/facebookgo/atomicfile
* License         : BSD
  Programming Lang: Go
  Description     : Provides an atomically written/replaced file.

Package atomicfile provides the ability to write a file with an eventual rename on Close (using os.Rename). This allows for a file to always be in a consistent state and never represent an in-progress write.

NOTE: `os.Rename` may not be atomic on your operating system.