Skip to content

Function: expandPaths()

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

function expandPaths(platform, path): Promise<string[]>;

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

The paths that path names on the platform: a path as it is, and a pattern as the paths it matches, sorted (globPaths). A pattern that matches nothing is a SystemError of NotFound, as a path not there is when it is read.

Parameters

ParameterType
platformFilesPlatform
pathstring

Returns

Promise<string[]>