@junobuild/cli-tools
Version:
A collection of tools for Juno CLIs and Plugins.
9 lines (8 loc) • 370 B
TypeScript
import type { SatelliteConfig } from '@junobuild/config';
/**
* Scans the local source directory and returns a Set of fullPaths that are present.
* Throws if the directory cannot be read.
*/
export declare const listSourceFilesForPrune: ({ sourceAbsolutePath, ignore }: {
sourceAbsolutePath: string;
} & Required<Pick<SatelliteConfig, "ignore">>) => Set<string>;