ospaths docs: add 'basename' to theindex
This commit is contained in:
parent
f8e805a614
commit
37986d0ba8
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ proc extractFilename*(path: string): string {.
|
||||||
|
|
||||||
proc lastPathPart*(path: string): string {.
|
proc lastPathPart*(path: string): string {.
|
||||||
noSideEffect, rtl, extern: "nos$1".} =
|
noSideEffect, rtl, extern: "nos$1".} =
|
||||||
## like ``extractFilename``, but ignores trailing dir separator; aka: baseName
|
## like ``extractFilename``, but ignores trailing dir separator; aka: `baseName`:idx:
|
||||||
## in some other languages.
|
## in some other languages.
|
||||||
runnableExamples:
|
runnableExamples:
|
||||||
when defined(posix):
|
when defined(posix):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue