Skip to main content

CONFIG_RELPATH

Constant CONFIG_RELPATH 

Source
pub const CONFIG_RELPATH: &str = ".opencode/opencode.json";
Expand description

The OpenCode config file policy rules are compiled into. OpenCode loads .opencode/opencode.json after the project’s opencode.json and applies the last permission rule that matches, so rules here take precedence over the project’s own.