Skip to content

CapacitorAdapterFs.stat method

CapacitorAdapterFs › stat

Unofficial

Get file statistics for the given path.

Signature:

stat(realPath: string): Promise<CapacitorFileEntry>

Parameters:

ParameterTypeDescription
realPathstringFile path to stat.

Returns: Promise<CapacitorFileEntry>File entry with statistics.