Skip to content

FileSystemManager.rmdir ​

JS
    FileSystemManager.rmdir(Object object)

Remove a directory

Parameters

  • Object object: Input parameters; see the table below for details

Properties of object:

PropertyTypeRequiredDescription
dirPathObjectYesPath of the directory to remove
recursivebooleanfalseWhether to remove the directory recursively. If true, removes the directory along with all its subdirectories and files
successfunctionNoCallback function when the call succeeds
failfunctionNoCallback function when the call fails
completefunctionNoCallback function when the call completes