pub fn permission_paths(pattern: &str) -> Vec<String>Expand description
A policy path pattern, read as .gitignore reads a pattern at the
project root, as OpenCode path patterns.
OpenCode matches a read or edit against the path relative to the
project, and its * also matches /. A pattern with a / at its start
or middle stays anchored, so secrets/** is kept. One without matches at
any depth, which takes two patterns: .env and */.env. A trailing /
names a directory’s contents.