MarkLogic 9 Product Documentation
xdmp.filesystemDirectoryCreatexdmp.filesystemDirectoryCreate(
pathname as String,
[options as Object?]
) as null
Summary
Creates the directory specified by pathname.
Returns the empty sequence upon success.
Parameters |
pathname |
Pathname of the directory to be created.
|
options |
If createParents is true , then if necessary
it will create the parent directories all the way down to the
final directory in the path. If false it will merely complain
that the parents do not exist. The default for createParents
is false .
|
Required Privileges
http://marklogic.com/xdmp/privileges/xdmp-filesystem-directory-create
Example
xdmp.filesystemDirectoryCreate("/tmp/a/b/c",
{ createParents: true }
)
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.