DEV Community

Discussion on: Rust working with paths

 
adam_cyclones profile image
Adam Crockett 🌀

So it looks like the airquotes problem with canonicalize is that it looks at the real FS. In a cli tool where foo/ is not a dir this would panic (that to me is a real strength!) This is substantially better than node path where it's just a string. Just need catch the error. IL share working code soon.