Help us shape the future of Go! Take the 2026 Go Developer Survey

atomicfile

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package atomicfile provides functions to read and write files atomically.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(filename string) ([]byte, error)

func WriteFile

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

WriteFile writes data to a file named by filename atomically.

Types

This section is empty.

Jump to

Keyboard shortcuts

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