Skip to content

CapacitorAdapterFs.append method

CapacitorAdapterFs › append

Unofficial

Append text data to a file.

Signature:

append(realPath: string, data: string): Promise<void>

Parameters:

ParameterTypeDescription
realPathstringReal file system path.
datastringText data to append.

Returns: Promise<void>A promise that resolves when the data is appended. To extract the constructor type, use ExtractConstructor<CapacitorAdapterFs>.