SplitPath should probably be replaced with a path object
Posted: 13 Jul 2023, 16:17
I think in answer to the long standing question of what to do with SplitPath, it might be best to replace it with a simple path object.
For example,
SplitPath should coexist with Path.
jeeswg's approach https://github.com/AutoHotkey/AutoHotkey/pull/296
For example,
Code: Select all
drive := Path("C:/Windows").drive
jeeswg's approach https://github.com/AutoHotkey/AutoHotkey/pull/296