extract_meaningful_path

Function extract_meaningful_path 

Source
pub fn extract_meaningful_path(path: &Path) -> String
Expand description

Extracts the meaningful path by removing redundant directory prefixes.

This prevents paths like .claude/agents/agents/file.md by eliminating duplicate directory components.

§Arguments

  • path - The path to extract meaningful structure from

§Returns

The normalized meaningful path string