Skip to content

Function: removeAt()

Documentation / @wtf/platform-fs / files / removeAt

function removeAt(
platform,
path,
__namedParameters?
): Promise<boolean>;

Defined in: packages/platform-fs/src/files.ts:150

Removes the file or the folder of path, a folder with what is in it (recursive); nothing of one not there, as rm -f does. Resolves whether one was there.

Parameters

ParameterType
platformFilesPlatform
pathstring
__namedParameters{ recursive?: boolean; }
__namedParameters.recursive?boolean

Returns

Promise<boolean>