report

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package report provides details about the renaming operation in table or json format

Index

Constants

This section is empty.

Variables

View Source
var (
	Stdout io.Writer = os.Stdout
	Stderr io.Writer = os.Stderr
)

Functions

func BackupFailed

func BackupFailed(err error)

func Changes

func Changes(
	changes []*file.Change,
	errs []int,
	quiet bool,
	jsonOpts *internaljson.OutputOpts,
)

Changes displays the changes to be made in a table or json format.

func Conflicts

func Conflicts(
	conflicts conflict.Collection,
	jsonOpts *internaljson.OutputOpts,
)

Conflicts prints any detected conflicts to the standard output in table format.

func Dry

func Dry(
	changes []*file.Change,
	includeDir, quiet, revert bool,
	jsonOpts *internaljson.OutputOpts,
)

Dry prints a report of the renaming changes to be made.

func NoMatches

func NoMatches(
	jsonOpts *internaljson.OutputOpts,
)

NoMatches prints out a message indicating that the find string failed to match any files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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