Discover Packages
github.com/mayef/tailscale
atomicfile
package
Version:
v0.0.0-...-9d29f1b
Opens a new window with list of versions in this module.
Published: Sep 4, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package atomicfile contains code related to writing to filesystems
atomically.
This package should be considered internal; its API is not stable.
WriteFile writes data to filename+some suffix, then renames it into filename.
The perm argument is ignored on Windows. If the target filename already
exists but is not a regular file, WriteFile returns an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.