safing-portbase/utils/renameio/doc.go
2021-05-13 17:41:52 +02:00

7 lines
314 B
Go

// Package renameio provides a way to atomically create or replace a file or
// symbolic link.
//
// Caveat: this package requires the file system rename(2) implementation to be
// atomic. Notably, this is not the case when using NFS with multiple clients:
// https://stackoverflow.com/a/41396801
package renameio