Documentation
¶
Overview ¶
Package memoryio provides a shared atomic-write-then-rename protocol for the small JSON memory files used by the CI automation rotation scripts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicWriteJSON ¶
AtomicWriteJSON marshals v as indented JSON and writes it to path via a temporary file created alongside path (using tmpPattern, a pattern suitable for os.CreateTemp) followed by a rename, so readers never observe a partially written file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.