You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Path functions in TSG have unexpected behavior for . and .. #439
Observed by @nohehf in #437. The behavior of path-stem and path-dir is unclear on . and ... One would assume that (path-join (path-dir path) (path-filename path)) would always return the original path, but that is not the case.
The problem is that . and .. are not considered file names by the underlying Rust path functions, even if they are the only component in the path.
The github/stack-graphs repository is no longer being maintained. As per #502, I'm closing all issues and pull requests before archiving the repository.
Observed by @nohehf in #437. The behavior of
path-stemandpath-diris unclear on.and... One would assume that(path-join (path-dir path) (path-filename path))would always return the original path, but that is not the case.The problem is that
.and..are not considered file names by the underlying Rust path functions, even if they are the only component in the path.