diff options
-rw-r--r-- | doc/reference/jsextensions/jsextension-fileinfo.qdoc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/reference/jsextensions/jsextension-fileinfo.qdoc b/doc/reference/jsextensions/jsextension-fileinfo.qdoc index d656ac8e8..8c0ac1ee0 100644 --- a/doc/reference/jsextensions/jsextension-fileinfo.qdoc +++ b/doc/reference/jsextensions/jsextension-fileinfo.qdoc @@ -64,6 +64,13 @@ Returns the last component of \c filePath, that is, everything after the last '/' character. + \section2 fromNativeSeparators + \code + FileInfo.fromNativeSeparators(filePath: string): string + \endcode + On Windows hosts, this function behaves the same as \l fromWindowsSeparators. On other + operating systems, it returns the input unmodified. + \section2 fromWindowsSeparators \code FileInfo.fromWindowsSeparators(filePath: string): string @@ -105,6 +112,13 @@ The function assumes \c dirPath and \c filePath to be absolute paths and \c dirPath to be a directory. + \section2 toNativeSeparators + \code + FileInfo.toNativeSeparators(filePath: string): string + \endcode + On Windows hosts, this function behaves the same as \l toWindowsSeparators. On other + operating systems, it returns the input unmodified. + \section2 toWindowsSeparators \code FileInfo.toWindowsSeparators(filePath: string): string |