pub fn cmd_patterns_in(dir: &Path) -> i32Expand description
List learned pattern files from a single directory (legacy test helper).
Uses the same rendering as the User section of oo patterns: the empty-state
line when nothing is listed. Returns 0 on success, and 1 with oo: <path>: <error>
on stderr when the directory cannot be read.