| Modifier and Type | Method and Description |
|---|---|
ObjectId |
ObjectId.getObjectId()
Returns this reference.
|
ObjectId |
BadObjectException.getObjectId()
Returns the hash value of the object that could not be read.
|
abstract ObjectId |
MaybeObjectId.getObjectId()
Returns this reference if it is an instance of
ObjectId or throws
an exception otherwise. |
ObjectId |
Entry.getObjectId()
Returns an object representing the hash value that uniquely identifies the
git object referenced by this tree entry.
|
ObjectId |
Commit.getTree()
Returns the hash value of the tree object associated to this commit.
|
static ObjectId |
ObjectId.parse(String id)
Parses the specified text to produce a
ObjectId instance. |
| Modifier and Type | Method and Description |
|---|---|
GitTask<ImmutableSet<ObjectId>> |
GitEngine.copyObjects(Repository source,
ImmutableSet<ObjectId> objects,
Repository destination)
Returns a new task for copying a set of objects from one repository to
another.
|
Computation<ImmutableSet<ObjectId>> |
GitCommandExecutor.copyObjects(Repository source,
ImmutableSet<ObjectId> objects,
Repository destination)
Returns a new computation for copying a set of objects from one repository
to another.
|
br.com.objectos.collections.list.ImmutableList<ObjectId> |
Commit.getParents()
Returns the hash values of the parents of this commit.
|
GitTask<ObjectId> |
GitEngine.writeCommit(Repository repository,
MutableCommit commit)
Returns a new task for writing a commit object (as a loose object) to a
repository.
|
Computation<ObjectId> |
GitCommandExecutor.writeCommit(Repository repository,
MutableCommit commit)
Returns a new computation for writing a commit object (as a loose object)
to a repository.
|
Computation<ObjectId> |
GitCommandExecutor.writeTree(GitCommand<?> command,
Repository repository,
MutableTree tree)
Returns a new computation for recursively writing tree objects to a
repository.
|
GitTask<ObjectId> |
GitEngine.writeTree(Repository repository,
MutableTree tree)
Returns a new task for recursively writing tree objects to a repository.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MutableCommit.addParent(ObjectId parent)
Adds the specified object ID as a parent of this commit.
|
protected void |
StageGitCommand.copyTree(Repository source,
ObjectId tree,
Repository destination)
Adds a single asynchronous computation that copies from the source
repository the specified tree object to the destination repository (as
loose objects).
|
GitTask<Blob> |
GitEngine.readBlob(Repository repository,
ObjectId id)
Returns a new task for reading a blob object from a repository.
|
Computation<Blob> |
GitCommandExecutor.readBlob(Repository repository,
ObjectId id)
Returns a new computation for reading a blob object from a repository.
|
protected void |
StageGitCommand.readBlob(Repository repository,
ObjectId id)
Adds a single asynchronous computation by invoking
GitCommandExecutor.readBlob(Repository, ObjectId). |
GitTask<Commit> |
GitEngine.readCommit(Repository repository,
ObjectId id)
Returns a new task for reading a commit object from a repository.
|
Computation<Commit> |
GitCommandExecutor.readCommit(Repository repository,
ObjectId id)
Returns a new computation for reading a commit object from a repository.
|
protected void |
StageGitCommand.readCommit(Repository repository,
ObjectId id)
Adds a single asynchronous computation by invoking
GitCommandExecutor.readCommit(Repository, ObjectId). |
GitTask<Tree> |
GitEngine.readTree(Repository repository,
ObjectId id)
Returns a new task for reading a tree object from a repository.
|
Computation<Tree> |
GitCommandExecutor.readTree(Repository repository,
ObjectId id)
Returns a new computation for reading a tree object from a repository.
|
protected void |
StageGitCommand.readTree(Repository repository,
ObjectId id)
Adds a single asynchronous computation by invoking
GitCommandExecutor.readTree(Repository, ObjectId). |
void |
MutableCommit.setTree(ObjectId tree)
Sets the tree of this commit to the specified value.
|
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). |
| Modifier and Type | Method and Description |
|---|---|
GitTask<ImmutableSet<ObjectId>> |
GitEngine.copyObjects(Repository source,
ImmutableSet<ObjectId> objects,
Repository destination)
Returns a new task for copying a set of objects from one repository to
another.
|
Computation<ImmutableSet<ObjectId>> |
GitCommandExecutor.copyObjects(Repository source,
ImmutableSet<ObjectId> objects,
Repository destination)
Returns a new computation for copying a set of objects from one repository
to another.
|
protected void |
StageGitCommand.copyObjects(Repository source,
ImmutableSet<ObjectId> objects,
Repository destination)
Adds a single asynchronous computation by invoking
GitCommandExecutor.copyObjects(Repository, ImmutableSet, Repository). |
| Constructor and Description |
|---|
MaterializeCommand(Directory source,
ObjectId commit,
Directory target)
Materializes from the
source repository the specified
commit to the target directory. |
Copyright © 2020–2022 Objectos Software LTDA. All rights reserved.