11 Commits

Author SHA1 Message Date
Ingo Karkat a4c8649ee3 ingo#fs#path#split#PathAndName(): Handle special cases and add tests
There are unexpected results with "." and "..", based on how fnamemodify() works. Add a conditional to handle these, and document this through unit tests.
2020-03-03 20:03:39 +01:00
Ingo Karkat 2796ffb4c0 Add ingo#fs#path#split#TruncateTo() 2018-10-04 18:48:42 +02:00
Ingo Karkat 6279068336 Add ingo#fs#path#split#StartsWith() 2018-05-24 13:09:45 +02:00
Ingo Karkat 890e38706a BUG: Cannot use ingo#str#split#AtPrefix; need to return the unnormalized filespec (after 3a28ee8cc2)
Don't fully revert; keep the new optional a:onPrefixNotExisting.
2018-01-29 17:40:06 +01:00
Ingo Karkat 3a28ee8cc2 Refactoring: Use new ingo#str#split#AtPrefix(); also allow optional onBasePathNotExisting argument 2018-01-25 11:27:03 +01:00
Ingo Karkat 92a91a0ab4 Add ingo#fs#path#split#ChangeBasePath() 2017-11-23 14:08:01 +01:00
Ingo Karkat 6c2f4b5c18 Add ingo#fs#path#split#PathAndName() 2017-05-26 17:56:19 +02:00
Ingo Karkat bd70c51e87 Add ingo#str#EndsWith() variant of ingo#fs#path#split#Contains() 2017-05-26 17:56:17 +02:00
Ingo Karkat ad6359092d 2017-05-26 17:54:38 +02:00
Ingo Karkat fabce68990 Add ingo#fs#path#split#Contains() 2017-05-26 17:49:59 +02:00
Ingo Karkat 0f5a950dca file creation 2017-05-26 17:34:13 +02:00