mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-07 12:24:19 +00:00
Fix the tuple returned by os.splitFile() in documentation (#10197)
This commit is contained in:
committed by
Andreas Rumpf
parent
be0a4d1342
commit
e5ca57d85c
@@ -336,7 +336,7 @@ proc searchExtPos*(path: string): int =
|
||||
|
||||
proc splitFile*(path: string): tuple[dir, name, ext: string] {.
|
||||
noSideEffect, rtl, extern: "nos$1".} =
|
||||
## Splits a filename into (dir, filename, extension).
|
||||
## Splits a filename into (dir, name, extension).
|
||||
## `dir` does not end in `DirSep`.
|
||||
## `extension` includes the leading dot.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user