Skip to main content

Module ops

Module ops 

Source

Functions§

collect_opencode
collect_opencode_from
Read one data directory: SQLite databases first (the current format), then the legacy storage/message/**.json files, de-duplicated by message id.
roots
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).