handlers

package
v0.0.0-...-f2e73df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2019 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackwardHandler

func BackwardHandler(c *cli.Context) error

* BackwardHandler checks out the child commit of the current HEAD

func DiveHandler

func DiveHandler(c *cli.Context) error

func ForwardHandler

func ForwardHandler(c *cli.Context) error

* ForwardHandler checks out the child commit of the current HEAD

func GetRepoFromPwd

func GetRepoFromPwd() (*git.Repository, error)

Types

type Changeset

type Changeset struct {
	Adds    *int64
	Deletes *int64
	Renames *int64
}

type Summary

type Summary struct {
	Commit       *git.Commit
	Hash         *string
	Message      *string
	LongMessage  *string
	Description  *string
	Changeset    *Changeset
	PullRequests []string
	Issues       []string
	Skipped      []Summary
}

func Backward

func Backward(c *cli.Context) (*Summary, error)

func Dive

func Dive(c *cli.Context) (*Summary, error)

func Forward

func Forward(c *cli.Context) (*Summary, error)

func NewSummary

func NewSummary(commit *git.Commit) *Summary

func (Summary) String

func (s Summary) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址