package
0.8.0
Repository: https://github.com/michaelmure/git-bug.git
Documentation: pkg.go.dev

# Functions

AddComment is a convenience function to add a comment to a bug.
ChangeLabels is a convenience function to change labels on a bug.
Close is a convenience function to change a bugs state to Close.
Create is a convenience function to create a bug.
EditComment is a convenience function to apply the operation.
EditCreateComment is a convenience function to edit the body of a bug (the first comment).
Fetch retrieve updates from a remote This does not change the local bugs state.
ForceChangeLabels is a convenience function to apply the operation The difference with ChangeLabels is that no checks for deduplication are done.
ListLocalIds list all the available local bug ids.
MergeAll will merge all the available remote bug Note: an author is necessary for the case where a merge commit is created, as this commit will have an author and may be signed if a signing key is available.
No description provided by the author
NewBug create a new Bug.
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
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
Open is a convenience function to change a bugs state to Open.
Pull will do a Fetch + MergeAll This function will return an error if a merge fail Note: an author is necessary for the case where a merge commit is created, as this commit will have an author and may be signed if a signing key is available.
Push update a remote with the local changes.
Read will read a bug from a repository.
ReadAll read and parse all local bugs.
ReadAllWithResolver read and parse all local bugs.
ReadWithResolver will read a bug from its Id, with custom resolvers.
Remove will remove a local bug from its entity.Id.
SetMetadata is a convenience function to add metadata on another operation.
SetTitle is a convenience function to change a bugs title.

# Constants

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
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
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

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

# Structs

AddCommentOperation will add a new comment in the bug.
AddCommentTimelineItem replace a AddComment operation in the Timeline and hold its edition history.
Bug holds the data of a bug thread, organized in a way close to how it will be persisted inside Git.
Comment represent a comment in a Bug.
CommentHistoryStep hold one version of a message in the history.
CommentTimelineItem is a TimelineItem that holds a Comment and its edition history.
CreateOperation define the initial creation of a bug.
CreateTimelineItem replace a Create operation in the Timeline and hold its edition history.
EditCommentOperation will change a comment in the bug.
LabelChangeOperation define a Bug operation to add or remove labels.
No description provided by the author
No description provided by the author
SetStatusOperation will change the status of a bug.
No description provided by the author
SetTitleOperation will change the title of a bug.
No description provided by the author
SimpleResolver is a Resolver loading Bugs directly from a Repo.
Snapshot is a compiled form of the Bug data structure used for storage and merge.
No description provided by the author
WithSnapshot encapsulate a Bug and maintain the corresponding Snapshot efficiently.

# Interfaces

No description provided by the author
Operation define the interface to fulfill for an edit operation of a Bug.
No description provided by the author

# Type aliases

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
No description provided by the author