@atomist/sdm-pack-fingerprints
Version:
an Atomist SDM Extension Pack for fingerprinting code
13 lines (12 loc) • 594 B
TypeScript
import { Project } from "@atomist/automation-client";
/**
* Return a virtual project with the given directory as root.
* Updateable, with changes affecting the original project.
* Inexpensive to invoke as the project created is a lightweight reference to the
* same content on disk.
* @param {Project} rootProject original project. Must be a LocalProject.
* @param {string} pathUnder path under the root to be the based directory
* of the new project
* @return {Promise<Project>}
*/
export declare function localProjectUnder(rootProject: Project, pathUnder: string): Promise<Project>;