Skip to main content

detect_room

Function detect_room 

Source
pub fn detect_room(path: &str) -> String
Expand description

Derive a subsystem room label from a file path. Uses path segments, filenames, and repo-role hints to map files into stable subsystem rooms. Falls back to the first directory component or “root” when no stronger signal exists.