MarkLogic 9 Product Documentation
xdmp:filesystem-file-set-time

xdmp:filesystem-file-set-time(
   $pathname as xs:string,
   $actime as xs:string,
   $modtime as xs:string
) as empty-sequence()

Summary

Sets access and modification time for a file.

Parameters
pathname Pathname of the file to set time for.
actime New access time.
modtime New modification time.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-filesystem-file-set-time

Example

  xdmp:filesystem-file-get-time("/path/foo.xml")
  => ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy