| Modifier and Type | Field and Description |
|---|---|
static RefName |
RefName.MASTER
The refs/heads/master reference.
|
| Modifier and Type | Method and Description |
|---|---|
static RefName |
RefName.namedBranch(String name)
Creates a new
RefName representing a named branch. |
| Modifier and Type | Method and Description |
|---|---|
GitTask<MaybeObjectId> |
GitEngine.resolve(Repository repository,
RefName ref)
Returns a new task for resolving a Git reference.
|
Computation<MaybeObjectId> |
GitCommandExecutor.resolve(Repository repository,
RefName ref)
Returns a new computation for resolving a Git reference.
|
protected void |
StageGitCommand.resolve(Repository repository,
RefName ref)
Adds a single asynchronous computation by invoking
GitCommandExecutor.resolve(Repository, RefName). |
GitTask<MaybeObjectId> |
GitEngine.updateRef(Repository repository,
RefName ref,
ObjectId newValue)
Returns a new task for updating a Git reference.
|
Computation<MaybeObjectId> |
GitCommandExecutor.updateRef(Repository repository,
RefName ref,
ObjectId newValue)
Returns a new computation for updating a Git reference.
|
protected void |
StageGitCommand.updateRef(Repository repository,
RefName ref,
ObjectId newValue)
Adds a single asynchronous computation by invoking
GitCommandExecutor.updateRef(Repository, RefName, ObjectId). |
| Constructor and Description |
|---|
MaterializeCommand(Directory source,
RefName ref,
Directory target)
Materializes from the
source repository the specified
ref to the target directory. |
Copyright © 2020–2022 Objectos Software LTDA. All rights reserved.