ospaths docs: add 'basename' to theindex

This commit is contained in:
Araq
2018-10-15 10:51:47 +02:00
parent f8e805a614
commit 37986d0ba8

View File

@@ -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):