package
0.0.0-20240731062821-dc9c76cc409b
Repository: https://github.com/daedaleanai/git-ticket.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
CreatePubkey returns an armored public PGP key.
No description provided by the author
GetGiteaClient returns the connection ready to be queried.
GetGiteaConfig returns the Gitea URL and API token from the repository config.
GetPhabClient returns the connection ready to be queried.
GetPhabConfig returns the Phabricator URL and API token from the repository config.
InitBareGitRepo create a new --bare empty git repo at the given path.
InitGitRepo create a new empty git repo at the given path.
NewGitRepo determines if the given working directory is inside of a git repository, and returns the corresponding GitRepo instance if it is.
NewGitRepoNoInit returns a GitRepo instance for the given directory, does not attempt to initialise clocks if not already done.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Test suite for a Repo implementation.
No description provided by the author
No description provided by the author
SetupSigningKey creates a GPG key and sets up the local config so it's used.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrClockNotExist is the error returned when a clock can't be found.
No description provided by the author
No description provided by the author
ErrNotARepo is the error returned when the git repo root wan't be found.

# Structs

ClockLoader hold which logical clock need to exist for an entity and how to create them if they don't.
GitRepo represents an instance of a (local) git repository.
No description provided by the author
No description provided by the author

# Interfaces

ClockedRepo is a Repo that also has Lamport clocks.
Config represent the common function interacting with the repository config storage.
Repo represents a source code repository.
RepoCommon represent the common function the we want all the repo to implement.
RepoConfig access the configuration of a repository.
TestedRepo is an extended ClockedRepo with function for testing only.

# Type aliases

Hash is a git hash.
No description provided by the author
No description provided by the author
No description provided by the author