import { type FileListRequest } from "https://deno.land/x/fathym_common@v0.2.166/src/common/path/FileListRequest.ts";
Represents a request for files in a directory based on the given extensions.
Examples
From direct import - All Files
From direct import - All Files
import { FileListRequest } from '@fathym/common/path';
const fileListRequest: FileListRequest = {
Directory: '/path/to/directory',
}
From common import - TS and TSX files
From common import - TS and TSX files
import { FileListRequest } from '@fathym/common';
const fileListRequest: FileListRequest = {
Directory: '/path/to/directory',
Extensions: ['ts', '.tsx'],
}