# Functions
AuthProtocol returns the type of protocol for given remote's URL various auth protocols require different kind of authentication.
No description provided by the author
FastInitializeRepo initializes a Repository struct without its belongings.
InitializeRepo initializes a Repository struct with its belongings.
No description provided by the author
No description provided by the author
Less returns a comparison between to repositories by name.
RandomString generates a random string of n length.
RevList is the legacy implementation of "git rev-list" command.
# Constants
Schemes for authentication.
Schemes for authentication.
Schemes for authentication.
BranchUpdated defines the topic for an updated branch.
EvenCommit is the commit that recorded locally.
LocalCommit is the commit that not pushed to remote branch.
RemoteCommit is the commit that not merged to local branch.
RepositoryUpdated defines the topic for an updated repository.
StatusAdded says file is added to index.
StatusCopied says file is copied.
StatusDeleted says file is deleted.
StatusIgnored says file is ignored.
StatusModified says file is modifed.
StatusModifiedUntracked says file is modifed and un-tracked.
StatusNotupdated says file not updated.
StatusRenamed says file is renamed.
StatusUntracked says file is untraced.
StatusUpdated says file is updated.
# Variables
Available implies repo is ready for the operation.
Fail is the unexpected outcome of the operation.
Paused is expected when a user interaction is required.
Queued means repo is queued for a operation.
Success is the expected outcome of the operation.
Working means an operation is just started for this repository.
# Structs
Branch is the wrapper of go-git's Reference struct.
BranchState hold the ref commit.
Commit is the lightweight version of go-git's Reference struct.
Contributor is the person.
Credentials holds user credentials to authenticate and authorize while communicating with remote if required.
File represents the status of a file in an index or work tree.
Remote struct is simply a collection of remote branches and wraps it with the name of the remote and fetch/push urls.
RemoteBranch is the wrapper of go-git's Reference struct.
Repository is the main entity of the application.
RepositoryEvent is used to transfer event-related data.
RepositoryState is the current pointers of a repository.
RevListOptions defines the rules of rev-list func.
StashedItem holds the required fields for a stashed change.
No description provided by the author
WorkStatus is the state of the repository for an operation.
# Interfaces
Reference is the interface for commits, remotes and branches.
# Type aliases
Alphabetical slice is the re-ordered *Repository slice that sorted according to alphabetical order (A-Z).
CommitTime slice is the re-ordered *object.Commit slice that sorted according commit date.
CommitType is the Type of the commit; it can be local or remote (upstream diff).
FilesAlphabetical slice is the re-ordered *File slice that sorted according to alphabetical order (A-Z).
FileStatus is the short representation of state of a file.
LastModified slice is the re-ordered *Repository slice that sorted according to last modified date of the repository directory.
RepositoryListener is a type for listeners.