atomicfile

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncDirectory

func SyncDirectory(path string) error

SyncDirectory durably records directory-entry changes where supported.

func Write

func Write(path string, data []byte, mode os.FileMode) error

Write replaces path with a fully written and synced file from the same directory, then syncs the parent directory where the platform supports it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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