pkgx
pkgx copied to clipboard
Fixed Windows path issue
Fixed Path.ts to get pass first Tea Path error (1- changing slashes for windows and 2- using another deno function that has to do with symlink)
- Added slash dependency
- Changed the constructor to support Windows paths
For this I would like the following (unless impossible or stupid, LMK)
- Internally use forward slash as path separator
- convert for
.pretttyString()
I believe that all APIs will accept forward slashes, even Win32. But could be wrong.
For this I would like the following (unless impossible or stupid, LMK)
- Internally use forward slash as path separator
- convert for
.pretttyString()
I believe that all APIs will accept forward slashes, even Win32. But could be wrong.
We use forward slash internally as path separator. Slash() function does the conversion from backslash to forward slash if necessary.