Relative-only paths #23
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently, we have the following two types for paths:
AbsolutePath
for, well, absolute paths,LocalPath
for any paths.We lack a separate type to specify a relative-only type, so let's get one. @PaGrom makes a good argument on its existence, see #1 (comment).
I propose the following design:
Examples:
Whether
trimLeadingSlash
should betrue
orfalse
by default I am not sure. @PaGrom, what do you think? I would lean towards more strict behavior by default.See
TODO[#23]
in the project sources when implementing this.The text was updated successfully, but these errors were encountered: