Commit graph

2 commits

Author SHA1 Message Date
Janis 5a9918285f path helper fix
- remove directory segment and instead just have "file" for directories and
files and other kinds of files since we cant know just based on the path what it
is
- segmetns are stored as vecdeque in normalized path to allow for hopefully more
efficient poping in FIFO order (but definitely more ergonomic)
- test for trailing seperators, the last trailing seperator is ignored, multiple
trailing seperators are turned into noops because i parse paths left to
right (regex?) in the simplest way possible. in normalized paths noops are
completely ignored/removed
2023-04-02 00:23:45 +02:00
Janis 8ce787a837 path helpers 2023-04-01 16:35:27 +02:00