fileutil

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtomicWriteFile

func AtomicWriteFile(path string, data []byte, opts AtomicWriteOptions) error

Types

type AtomicWriteOptions

type AtomicWriteOptions struct {
	FileMode         os.FileMode
	DirMode          os.FileMode
	ChmodExistingDir bool
	TempPattern      string
	Rename           func(string, string) error
	SyncDir          bool
}

Jump to

Keyboard shortcuts

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