Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupFile ¶ added in v0.1.0
func PatchAll ¶
PatchAll reads existing env from path, merges patches, and writes atomically via a temp file + rename. If path does not exist, starts from an empty env. comments may be nil (no-op). The original file's permissions are preserved.
func ScanComments ¶
ScanComments reads path and returns full-line comment lines per mode. mode: "all" | "blocks-only" | anything else → nil, nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.