github.com/safing/portbase@v0.19.5/utils/renameio/doc.go (about) 1 // Package renameio provides a way to atomically create or replace a file or 2 // symbolic link. 3 // 4 // Caveat: this package requires the file system rename(2) implementation to be 5 // atomic. Notably, this is not the case when using NFS with multiple clients: 6 // https://stackoverflow.com/a/41396801 7 package renameio