Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mode ¶
type Mode string
Mode defines the conversion direction.
func ModeFromLabel ¶ added in v0.4.0
ModeFromLabel converts a manifest label back to a Mode. Unknown labels (including "none") map to the zero Mode.
type TargetFilter ¶
type TargetFilter struct {
// contains filtered or unexported fields
}
TargetFilter limits which project-relative paths should be converted.
func NewTargetFilter ¶
func NewTargetFilter(projectRoot string, targets []string) (*TargetFilter, error)
func (*TargetFilter) Empty ¶
func (tf *TargetFilter) Empty() bool
Click to show internal directories.
Click to hide internal directories.