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 }}
Repository navigation
Need more sustainable way of managing platform specific paths #3012
As dealt with in this PR, when you use path/filepath you end up with platform specific formatting, such as for windows. Whether we actually want that is highly dependent on the use case though:
We do want that when we are formatting paths that refer to the client filesystem (may be linux, macos, or windows)
We don't want that when we are formatting paths that refer to filesystems running inside a container (always linux, at least for the foreseeable future)
It's possible to use filepath for the first case and path for the second, but remembering that and enforcing it is really tricky. Tests help a lot of course, but maybe having our own packages that contain path formatting utils (which wrap the underlying ones) would be more sustainable.
Activity