Skip to main content
Module

x/ts_morph/common/mod.ts>matchFiles

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
function matchFiles
import { matchFiles } from "https://deno.land/x/ts_morph@15.1.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[]