Expand description
vanta-platform — OS/arch detection and path/executable/shell helpers
(docs/17-cross-platform.md). A thin, dependency-light utility layer the rest
of the workspace builds on.
Structs§
- Platform
- A fully-qualified target platform.
Functions§
- detect
- The platform the running binary targets.
- exe_
suffix - The executable file suffix (
.exeon Windows, empty elsewhere). - home_
dir - The user’s home directory (
HOME, orUSERPROFILEon Windows). - path_
list_ sep - The PATH list separator (
;on Windows,:elsewhere). - vanta_
home $VANTA_HOME, else<home>/.vanta.- with_
exe - Append the platform’s executable suffix to
nameif not already present.