@atomist/rug
Version:
TypeScript model for Atomist Rugs, see http://docs.atomist.com/
19 lines (14 loc) • 463 B
text/typescript
import { Project } from "../model/Core";
/**
* Use to load projects backed by git repositories.
*/
export interface GitProjectLoader {
/**
* Resolve the latest in the given branch. Throw exception if not found.
*/
loadBranch(owner: string, repoName: string, branch: string): Project;
/**
* Resolve the tree for this sha. Throw exception if not found.
*/
loadSha(owner: string, repoName: string, sha: string): Project;
}