Query available disk space by xquery

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

Answers (1)

Mike Gardner
Mike Gardner

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

Related Questions