renameio – github.com/google/renameio Index | Files | Directories

package renameio

import "github.com/google/renameio"

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

Index

Source Files

doc.go

Directories

PathSynopsis
maybePackage maybe provides a way to atomically create or replace a file, if technically possible.
Version
v1.0.0
Published
Oct 19, 2020
Platform
windows/amd64
Last checked
now

Tools for package owners.