-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fsx): add NewRelativeToCwdPrefixDirPathMapper (#23)
This commit adds the NewRelativeToCwdPrefixDirPathMapper constructor for PrefixDirPathMapper. It seems this constructor should completely address the use case of `rbmk sh` along with the Unix domain socket total path length restrictions. I initially planned on implementing this inside the `rbmk sh` implementaion but then decided to implement it here because it could be useful for other use cases beyond just my specific use case of `rbmk sh`. Namely: 1. cases where one is using `fsx` 2. the rest of the code does not call `os.Chdir` 3. we're fine with using relative paths
- Loading branch information
1 parent
ffa77aa
commit 4273bdb
Showing
2 changed files
with
174 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters