Loading TOC...

MarkLogic 9 Product Documentation
xdmp.filesystemDirectoryDelete

xdmp.filesystemDirectoryDelete(
   pathname as String
) as null

Summary

Deletes the directory specified by pathname. Returns the empty sequence upon success.

Parameters
pathname Pathname of the directory to be deleted.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-filesystem-directory-delete

Example

xdmp.filesystemDirectoryDelete("/mydata/datafiles/olddir")
=> ()

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.