conflict

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection map[Name][]Conflict

Collection represents all conflicts detected during a renaming operation.

type Conflict

type Conflict struct {
	Target  string   `json:"target"`
	Cause   string   `json:"cause"`
	Sources []string `json:"sources"`
}

Conflict represents a single renaming operation conflict.

type Name

type Name string

Name refers to a specific conflict.

const (
	EmptyFilename             Name = "emptyFilename"
	FileExists                Name = "fileExists"
	OverwritingNewPath        Name = "overwritingNewPath"
	MaxFilenameLengthExceeded Name = "maxFilenameLengthExceeded"
	InvalidCharacters         Name = "invalidCharacters"
	TrailingPeriod            Name = "trailingPeriod"
)

Jump to

Keyboard shortcuts

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