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

View File

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