pretty

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintBranch added in v1.3.19

func PrintBranch(w io.Writer, branchInfo *pfs.BranchInfo)

PrintBranch pretty-prints a Branch.

func PrintBranchHeader added in v1.3.19

func PrintBranchHeader(w io.Writer)

PrintBranchHeader prints a branch header.

func PrintCommitInfo

func PrintCommitInfo(w io.Writer, commitInfo *pfs.CommitInfo)

PrintCommitInfo pretty-prints commit info.

func PrintCommitInfoHeader

func PrintCommitInfoHeader(w io.Writer)

PrintCommitInfoHeader prints a commit info header.

func PrintDetailedCommitInfo

func PrintDetailedCommitInfo(commitInfo *pfs.CommitInfo) error

PrintDetailedCommitInfo pretty-prints detailed commit info.

func PrintDetailedFileInfo

func PrintDetailedFileInfo(fileInfo *pfs.FileInfo) error

PrintDetailedFileInfo pretty-prints detailed file info.

func PrintDetailedRepoInfo

func PrintDetailedRepoInfo(repoInfo *pfs.RepoInfo) error

PrintDetailedRepoInfo pretty-prints detailed repo info.

func PrintFileInfo

func PrintFileInfo(w io.Writer, fileInfo *pfs.FileInfo)

PrintFileInfo pretty-prints file info. If recurse is false and directory size is 0, display "-" instead If fast is true and file size is 0, display "-" instead

func PrintFileInfoHeader

func PrintFileInfoHeader(w io.Writer)

PrintFileInfoHeader prints a file info header.

func PrintRepoHeader

func PrintRepoHeader(w io.Writer, printAuth bool)

PrintRepoHeader prints a repo header.

func PrintRepoInfo

func PrintRepoInfo(w io.Writer, repoInfo *pfs.RepoInfo)

PrintRepoInfo pretty-prints repo info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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