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
Hi, long time listener, first time problem-maker 😅. I am trying to build a simple CLI in roc and when I found the Path module I was hoping to convert a relative path to an absolute one but failed to find the functionality to do so? Did I miss it? Could it be added? (Would offer to try myself but I am painfully aware of my current skill level ☺️).
My expectation would be that it takes a string representing either a relative or absolute path and returns the absolute path. Java, I think distinguishes between "absolute" and "canonical" paths. To my understanding, the difference is the latter resolves syntax like ".." while the former would just include the ".." in the path. FWIW I personally prefer the latter's behaviour and the former's name.
The text was updated successfully, but these errors were encountered:
Hi, long time listener, first time problem-maker 😅. I am trying to build a simple CLI in roc and when I found the Path module I was hoping to convert a relative path to an absolute one but failed to find the functionality to do so? Did I miss it? Could it be added? (Would offer to try myself but I am painfully aware of my current skill level☺️ ).
My expectation would be that it takes a string representing either a relative or absolute path and returns the absolute path. Java, I think distinguishes between "absolute" and "canonical" paths. To my understanding, the difference is the latter resolves syntax like ".." while the former would just include the ".." in the path. FWIW I personally prefer the latter's behaviour and the former's name.
The text was updated successfully, but these errors were encountered: