Skip to main content

cmd_patterns_in

Function cmd_patterns_in 

Source
pub fn cmd_patterns_in(dir: &Path) -> i32
Expand 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.