This commit is contained in:
Araq 2014-12-26 02:23:11 +01:00
commit 4144b2d867

View file

@ -575,7 +575,7 @@ proc `/` * (head, tail: string): string {.noSideEffect.} =
proc splitPath*(path: string): tuple[head, tail: string] {. proc splitPath*(path: string): tuple[head, tail: string] {.
noSideEffect, rtl, extern: "nos$1".} = noSideEffect, rtl, extern: "nos$1".} =
## Splits a directory into (head, tail), so that ## Splits a directory into (head, tail), so that
## ``joinPath(head, tail) == path``. ## ``head / tail == path`` (except for edge cases like "/usr").
## ##
## Examples: ## Examples:
## ##