atomicfile

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: BSD-3-Clause Imports: 4 Imported by: 35

Documentation

Overview

Package atomicfile contains code related to writing to filesystems atomically.

This package should be considered internal; its API is not stable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteFile

func WriteFile(filename string, data []byte, perm os.FileMode) (err error)

WriteFile writes data to filename+some suffix, then renames it into filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL