Expand description
Data directory resolution for persistent caproni state.
Ported from internal/datadir/datadir.go.
Functions§
- certs_
dir_ in - Ported from
CertsDir. - dir_in
- Ported from
Dir, with the home directory taken as an explicit parameter rather than read from$HOME/os.UserHomeDir()internally (seePORT_NOTES.md’s “Design notes” section). There is no zero-argument wrapper in this crate; production callers (e.g.xianyun_cli::commands::up) resolve$HOMEthemselves and pass it in, keeping the ambient-environment read at the CLI’s edge rather than buried in a library function. - k3d_
registries_ path_ in - Ported from
K3dRegistriesPath. - pki_
dir_ in - Ported from
PKIDir.