pretty

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintBlockInfo

func PrintBlockInfo(w io.Writer, blockInfo *pfs.BlockInfo)

PrintBlockInfo pretty-prints block info.

func PrintBlockInfoHeader

func PrintBlockInfoHeader(w io.Writer)

PrintBlockInfoHeader prints a block info 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 added in v1.1.0

func PrintDetailedCommitInfo(commitInfo *pfs.CommitInfo) error

PrintDetailedCommitInfo pretty-prints detailed commit info.

func PrintDetailedFileInfo added in v1.1.0

func PrintDetailedFileInfo(fileInfo *pfs.FileInfo) error

PrintDetailedFileInfo pretty-prints detailed file info.

func PrintDetailedRepoInfo added in v1.1.0

func PrintDetailedRepoInfo(repoInfo *pfs.RepoInfo) error

PrintDetailedRepoInfo pretty-prints detailed repo info.

func PrintFileInfo

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

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)

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