Mozilla Skin
BLOG | FORUMS | WIKI | DEVELOPERS | MY EYEOS | PROFESSIONAL SERVICES | PROJECT PAGE

Service vfs mkDir

From eyeOS Wiki

Contents

Syntax

vfs('mkDir', array($dir))

or

service('vfs', 'mkDir', array($dir))

Description

Creates a new directory.

Arguments

dir: string containing the filepath to create.

Return values

If there does not exist an abstract file with the same name of the directory to create and the directory is created successfully, returns true. Otherwise, returns false.