Loading TOC...

xdmp:filesystem-directory-delete

xdmp:filesystem-directory-delete(
   $pathname as xs:string
) as empty-sequence()

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:filesystem-directory-delete("/mydata/datafiles/olddir")
=> ()

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.