Skip to main content

Module datadir

Module datadir 

Source
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 (see PORT_NOTES.md’s “Design notes” section). There is no zero-argument wrapper in this crate; production callers (e.g. xianyun_cli::commands::up) resolve $HOME themselves 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.