UNPKG

495 BTypeScriptView Raw
1import { Project } from "@atomist/automation-client/lib/project/Project";
2/**
3 * Create a filtered view of the given project.
4 * Changes to the filtered view will affect the source project.
5 * @param {LocalProject} p
6 * @param filter function to filter file paths. Return true to eliminate a file
7 * @return {Promise<LocalProject>}
8 */
9export declare function filteredView<P extends Project = Project>(p: Project, filter: (path: string) => boolean): P;
10//# sourceMappingURL=filteredView.d.ts.map
\No newline at end of file