Reputation: 11
How can I query available disk space on a given location by xquery?
e.g. something like xdmp:filesystem-info($path as xs:string)
?
Upvotes: 1
Views: 94
Reputation: 6651
You can't find it for any location, but you can find it for individual forests using elements from xdmp:forest-status
. You can use the data-dir
and device-space
elements to find the space on the device associated with the data directory.
Upvotes: 1