Skip to main content

roots

Function roots 

Source
pub fn roots() -> Vec<PathBuf>
Expand description

OpenCode data directories: $OPENCODE_DATA_DIR, else $XDG_DATA_HOME/opencode and ~/.local/share/opencode (OpenCode uses the XDG layout on every OS), plus the platform data dir (%LOCALAPPDATA% on Windows).