
xdmp.filesystemDirectoryDelete( pathname as String ) as null
Deletes the directory specified by pathname. Returns the empty sequence upon success.
| Parameters | |
|---|---|
| pathname | Pathname of the directory to be deleted. |
http://marklogic.com/xdmp/privileges/xdmp-filesystem-directory-delete
The directory must be empty in order to delete it.
xdmp.filesystemDirectoryDelete("/mydata/datafiles/olddir")
=> null
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.