Skip to content

CapacitorAdapterFs.stat method

CapacitorAdapterFs › stat

Unofficial

Get file statistics for the given path.

Signature:

stat(realPath: string): Promise<CapacitorFileEntry>

Parameters:

Parameter Type Description
realPath string File path to stat.

Returns: Promise<CapacitorFileEntry>File entry with statistics.