mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
ospaths docs: add 'basename' to theindex
This commit is contained in:
@@ -408,7 +408,7 @@ proc extractFilename*(path: string): string {.
|
||||
|
||||
proc lastPathPart*(path: string): string {.
|
||||
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.
|
||||
runnableExamples:
|
||||
when defined(posix):
|
||||
|
||||
Reference in New Issue
Block a user