xdmp:filesystem-file-encryption-status( $pathname as xs:string ) as element(file-encryption-status)?
Return the encryption status of a file. Returns empty sequence if there is no file.
Parameters | |
---|---|
pathname | Pathname of the file. |
http://marklogic.com/xdmp/privileges/xdmp-filesystem-file
xdmp:filesystem-file-encryption-status("/var/opt/MarkLogic/Forests/Documents/Label") => <file-encryption-status xmlns="http://marklogic.com/xdmp/status/fileEncryption"> <pathname>/var/opt/MarkLogic/Forests/Documents/Label</pathname> <encrypted>true</encrypted> <encryption-key-id>317085c9-5c65-4b08-b8bf-2ac5a5c0943e</encryption-key-id> <encryption-size>1920</encryption-size> </file-encryption-status>