aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2015-05-29 01:03:56 -0700
committerJake Petroules <jake.petroules@petroules.com>2015-05-29 16:07:03 +0000
commitf45c3a055cea5ecde33f391e831a92a4675647b5 (patch)
tree2c3e592ab312f90f9601996ab5984a3e9c8a5034 /doc
parent164f0e986c077d0be11cddb7d7ebce4e65000276 (diff)
Introduce, document, and use File.makePath.
Change-Id: I423d2019ce471c071605b36d2f36dcb59a0fb22c Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/jsextensions/jsextension-file.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/reference/jsextensions/jsextension-file.qdoc b/doc/reference/jsextensions/jsextension-file.qdoc
index cf33d00aa..d77665037 100644
--- a/doc/reference/jsextensions/jsextension-file.qdoc
+++ b/doc/reference/jsextensions/jsextension-file.qdoc
@@ -66,6 +66,13 @@
returned value are platform-specific. You should only rely on the property that a smaller value
indicates an older timestamp.
+ \section2 makePath
+ \code
+ File.makePath(path: string): boolean
+ \endcode
+ Makes the directory at \c path, creating intermediate directories if necessary.
+ Conceptually equivalent to \c{mkdir -p}
+
\section2 remove
\code
File.remove(filePath: string): boolean