Skip to content

diskUsage

diskUsage(path: string): Promise<DiskUsage>

Defined in: packages/pythonlib/src/shutil.node.ts:222

Return disk usage statistics for the given path.

Parameters

ParameterTypeDescription
pathstringPath to check

Returns

Promise<DiskUsage>

Object with total, used, and free bytes