pub fn directory_group(relative_path: &Path) -> &strExpand description
Extract the first path component for --group-by directory grouping.
Returns the first directory segment of a relative path.
For monorepo structures (packages/auth/...), returns packages.