SYNOPSISVoid mkdir( String dname, Permissions mode=Permissions([ReadP, WriteP, ExecuteP], [ReadP, WriteP, ExecuteP], [ReadP, WriteP, ExecuteP], false, false, false) )
dname The directory name
mode The permissions to set. This is optional, and if omitted will default to setting all access permissions allowed by the current process umask, but will not set the setUID, setGID, or sticky bit. On Windows, this parameter is ignored completely as the file permissions system is very different.
Makes a directory, throwing a IO.FileError(3kaya) Exception if creation fails. The permissions set will be affected by the current process umask (see the mkdir(2) man page) on Posix systems.
AUTHORSKaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
LICENSEThe Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.