import { Repo } from "https://deno.land/x/deno@v1.40.0/tools/release/deps.ts";
Constructors
new
private
Repo(name: string, folderPath: PathRef)Properties
readonly
crates: ReadonlyArray<Crate>Methods
addCrate(crateMetadata: CargoPackageMetadata)
assertCurrentBranch(expectedName: string)
command(command: string | string[])
getCrate(name: string)
getGitLogFromTags()
remote: string,
tagNameFrom: string | undefined,
tagNameTo: string | undefined,
gitAdd()
gitBranch(name: string)
gitCommit(message: string)
gitFetchTags(remote: string)
gitFetchUntil(remote: string, revision: string)
Fetches the commit history up until a specified revision.
gitPull(...args: string[])
gitPush(...additionalArgs: string[])
gitSwitch(...args: string[])
gitTag(name: string)
loadCrateInSubDir(name: string, subDir: string)
Static Methods
load(options: RepoLoadOptions)