fixes #685
This commit is contained in:
parent
338598d9d0
commit
4144b2d867
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue