finder

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertPathsToAbsPaths

func ConvertPathsToAbsPaths(paths []string) ([]string, error)

func FilterFiles

func FilterFiles(files []string, pattern string) []string

func GCDPath

func GCDPath(paths []string) string

func MapFilesToDir

func MapFilesToDir(rootPomFiles []string, classDirs []string) map[string][]string

Matches class directories to closest root pom file and creates a map with each root pom file pointing at a list of its related class directories

Types

type IFinder

type IFinder interface {
	FindRoots(files []string) ([]string, error)
	FindDependencyDirs(files []string, findJars bool) ([]string, error)
	FindFiles(paths []string, exclusions []string) ([]string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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