refactor(dirname): implement pure string manipulation per POSIX
Replace Path::parent() approach with byte-level string operations to avoid path normalization. This ensures dirname behaves as a pure string manipulation tool per POSIX/GNU specifications, correctly handling patterns like foo//., foo/./bar, and preserving /. components in middle of paths.
Add comprehensive test coverage for edge cases including multiple slash variations, dot-slash patterns, and component preservation.
Addresses issue #8910 with complete POSIX-compliant implementation.
676fc03
2 months ago
by naoNao89
+2.87%
test(dirname): remove redundant inline comments per review
2c72ad3
2 months ago
by naoNao89
-2.88%
Merge branch 'main' into test/dirname-additional-coverage