pretty

package
v1.3.99-43bda9a7e9b4f7... Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2017 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

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, 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