RemoteBranch class
Represents a Remote's [Branch} in memory
- Available extensions
Constructors
- RemoteBranch.new(Branch branch, Remote remote)
Properties
- branch → Branch
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- remote → Remote
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workingDirName → String
-
Available on RemoteBranch, provided by the RemoteBranchCommon extension
Name of the working Directoryno setter
Methods
-
clone(
{required Repository localRepository, dynamic onRepositoryNotFound()? = onRemoteRepositoryNotFound, dynamic onNoCommitFound()? = onNoCommitsFound, dynamic onSuccessfulClone()? = onSuccessfulClone}) → void -
Available on RemoteBranch, provided by the RemoteBranchCommon extension
Downloads a remote Repository from a RemoteBranch into a local branch -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pull(
{required Repository localRepository, dynamic onNoChanges()? = onNoChanges, dynamic onNoStateData()? = onStateDoesntExist, dynamic onNoRemoteData()? = onNoRemoteData, dynamic onRepositoryNotInitialized()? = onRepositoryNotInitialized, dynamic onSuccessfulPull()? = onSuccessfulPull}) → void -
Available on RemoteBranch, provided by the RemoteBranchCommon extension
Updates alocalRepository
with latest Commit's from a RemoteBranch for a branch -
push(
{required Repository localRepository, dynamic onNoCommits()? = onNoCommitsFound, dynamic onRemoteUrlNotSupported()? = onRemoteUrlNotSupported, dynamic onSuccessfulPush()? = onSuccessfulPush}) → void -
Available on RemoteBranch, provided by the RemoteBranchCommon extension
Uploads Commits from alocalRepository
into a RemoteBranch -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited