mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
7 lines
314 B
Go
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
|