Skip to content
Snippets Groups Projects
Commit 01cc3f6f authored by deuce's avatar deuce
Browse files

Document that mkpath() returns true if the path already exists.

ie: Does not return if the path was made or not.
parent 4337ca84
Branches
Tags
No related merge requests found
......@@ -4704,7 +4704,7 @@ static jsSyncMethodSpec js_global_functions[] = {
,310
},
{"mkpath", js_mkpath, 1, JSTYPE_BOOLEAN, JSDOCSTR("path/directory")
,JSDOCSTR("make a path to a directory (creating all necessary sub-directories)")
,JSDOCSTR("make a path to a directory (creating all necessary sub-directories). Returns true if the directory already exists.")
,315
},
{"rmdir", js_rmdir, 1, JSTYPE_BOOLEAN, JSDOCSTR("path/directory")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment