-
Notifications
You must be signed in to change notification settings - Fork 14
Relative-only paths #23
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Currently, we have the following two types for paths:
AbsolutePathfor, well, absolute paths,LocalPathfor 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
trimLeadingSlashshould betrueorfalseby 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.