Skip to main content

opencode_config_has_comments

Function opencode_config_has_comments 

Source
pub fn opencode_config_has_comments(project_dir: &Path) -> bool
Expand description

Return true if the user’s OpenCode project config is a .jsonc file that contains comments. Callers use this to decide whether to warn the user that sqz’s upcoming merge will drop those comments (serde_json round-trips discard them).