Module

x/ts_morph/common/mod.ts>matchFiles

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
function matchFiles
import { matchFiles } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/mod.ts";

Parameters

this: any
path: string
extensions: ReadonlyArray<string>
excludes: ReadonlyArray<string>
includes: ReadonlyArray<string>
useCaseSensitiveFileNames: boolean
currentDirectory: string
depth: number | undefined
getEntries: (path: string) => FileSystemEntries
realpath: (path: string) => string
directoryExists: (path: string) => boolean

Returns

string[]