report

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2016 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockForVal

func BlockForVal(val, max int) string

func Commits

func Commits(projects []ProjectCommits, options OutputOptions) (string, error)

Commits returns the commits report

func Files

func Files(projects []ProjectCommits, options OutputOptions) (string, error)

Files returns the files report

func Status

func Status(n note.CommitNote, options OutputOptions, projPath ...string) (string, error)

Status returns the status report

func Timeline

func Timeline(projects []ProjectCommits, options OutputOptions) (string, error)

Timeline returns the timeline report

func TimelineCommits

func TimelineCommits(projects []ProjectCommits, options OutputOptions) (string, error)

Types

type OutputOptions

type OutputOptions struct {
	TotalOnly   bool
	FullMessage bool
	TerminalOff bool
	Color       bool
	Limit       int
}

type ProjectCommits

type ProjectCommits struct {
	Path    string
	Commits []string
}

Source Files

  • query.go
  • report.go
  • templates.go
  • timeline.go

Jump to

Keyboard shortcuts

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