function buildFSTree
buildFSTree(
fileAbsolutePaths: string[],
config?: { extensions?: string[]; }
): Promise<FSTree>

Resolves an array of file paths, directories, or glob patterns into a flat { absolutePath: null } map.

Parameters

fileAbsolutePaths: string[]
optional
config: { extensions?: string[]; }

Return Type

Promise<FSTree>

Usage

import buildFSTree from "lib/setup/fs-tree.ts";