Skip to main content
Module

x/deno/tools/release/deps.ts>Repo

A modern runtime for JavaScript and TypeScript.
Latest
class Repo
Re-export
import { Repo } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts";

Constructors

new
private
Repo(name: string, folderPath: PathRef)

Properties

readonly
crates: ReadonlyArray<Crate>

Methods

assertCurrentBranch(expectedName: string)
command(command: string | string[])

Gets the names of all the crates for showing in error messages or for debugging purpopses.

getCrate(name: string)
getGitLogFromTags(
remote: string,
tagNameFrom: string | undefined,
tagNameTo: string | undefined,
)

Gets the git remotes where the key is the remote name and the value is the url.

gitBranch(name: string)
gitCommit(message: string)

Gets the commit message for the current commit.

gitFetchHistory(remote: string, revision?: string)

Fetches from the provided remote.

gitFetchTags(remote: string)
gitFetchUnshallow(remote: string)

Converts the commit history to be a full clone.

gitFetchUntil(remote: string, revision: string)

Fetches the commit history up until a specified revision.

Gets the latest tag on the current branch.

gitPull(...args: string[])
gitPush(...additionalArgs: string[])
gitSwitch(...args: string[])
gitTag(name: string)
loadCrateInSubDir(name: string, subDir: string)