@atomist/sdm-pack-fingerprints
Version:
an Atomist SDM Extension Pack for fingerprinting code
16 lines (15 loc) • 746 B
TypeScript
import { VirtualProjectFinder } from "./VirtualProjectFinder";
/**
* Identify directories in which any file matching any glob pattern is found as virtual projects.
* If they are found in the root, just return it
* @param {string} globs
* @return {VirtualProjectFinder}
*/
export declare function globsVirtualProjectFinder(...globs: string[]): VirtualProjectFinder;
/**
* Return a VirtualProjectFinder that infers virtual projects from filenames (NOT paths) that may be
* anywhere. E.g. every directory that contains a Maven pom.xml might be
* considered a subproject.
* If any of these files exists in the root, don't look further.
*/
export declare function fileNamesVirtualProjectFinder(...filenames: string[]): VirtualProjectFinder;