parse

package
v1.20.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UnregisteredCluster represents a cluster that has not been registered in clusterregistry/.
	UnregisteredCluster = "unregistered_cluster"
)

Variables

This section is empty.

Functions

func FindFiles

func FindFiles(dir cmpath.Absolute) ([]cmpath.Absolute, error)

FindFiles lists what are likely the files tracked by git in cases where we may not be dealing with a git repository. ONLY FOR USE IN THE CLI.

Tries git first, and falls back to using `find` if git does not work.

Guaranteed to return the same files as ListFiles in git repo with no uncommitted changes (see tests for findFiles)

Types

This section is empty.

Jump to

Keyboard shortcuts

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