package
0.0.0-20241116165817-883d5d7d379c
Repository: https://github.com/ddkwork/toolbox.git
Documentation: pkg.go.dev

# Functions

Create creates a temporary file in the same directory as filename, which will be renamed to the given filename when calling Commit.
CreateWithMode creates a temporary file in the same directory as filename, which will be renamed to the given filename when calling Commit.
WriteFile uses writer to write data safely and atomically to a file.
WriteFileWithMode uses writer to write data safely and atomically to a file.

# Structs

File provides safe, atomic saving of files.