renamed

package
v0.0.0-...-55524bd Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Raw       = RenameMap{}
	Poly      = RenameMap{}
	Namespace = RenameMap{}
	Service   = RenameMap{}
)

map of name change

Functions

This section is empty.

Types

type RenameMap

type RenameMap map[string]string

RenameMap map name that has changed

func (RenameMap) Add

func (m RenameMap) Add(oldPath, newPath string)

Add add a name change to map

func (RenameMap) Empty

func (m RenameMap) Empty() bool

Empty check if map is empty

func (RenameMap) Query

func (m RenameMap) Query(oldPath string) (string, bool)

Query find if name has change

Jump to

Keyboard shortcuts

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