Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicWrite ¶
AtomicWrite writes a file atomically: write to a temp file then rename to replace.
func ReadFileLimit ¶
ReadFileLimit reads a file with a maximum byte limit; returns error if exceeded to avoid OOM.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.