//! Utilities for reading and parsing `valheim.env`.
use fs;
use Path;
/// Read a single variable from a `.env`-style file.
///
/// Ignores comment lines and trims trailing inline comments and whitespace,
/// mirroring the `_env_get` helper in `odin.sh`.