mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 19:02:18 +00:00
fixes #685
This commit is contained in:
@@ -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:
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user