@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
10 lines • 495 B
TypeScript
import { Project } from "@atomist/automation-client/lib/project/Project";
/**
* Create a filtered view of the given project.
* Changes to the filtered view will affect the source project.
* @param {LocalProject} p
* @param filter function to filter file paths. Return true to eliminate a file
* @return {Promise<LocalProject>}
*/
export declare function filteredView<P extends Project = Project>(p: Project, filter: (path: string) => boolean): P;
//# sourceMappingURL=filteredView.d.ts.map