util

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(filename string) bool

func FileExists

func FileExists(filename string) bool

func GetDependencyList

func GetDependencyList() []string

func GetGoPackageName

func GetGoPackageName(TargetPath string) string

returns a go package packagepb/subpackagepb;subpackagepb

func MkdirRelative

func MkdirRelative(subdir string)

func ScanForStringPosition

func ScanForStringPosition(substr string, path string) string

Types

type Dependency

type Dependency struct {
	Kind           DependencyKind
	Path           string
	DependencyPath string
	Repository     string
	Version        string
	Original       string
}

func ParseDependency

func ParseDependency(dep string) Dependency

type DependencyKind

type DependencyKind int
const (
	UNKNOWN DependencyKind = iota
	GIT
	FILESYSTEM
)

Jump to

Keyboard shortcuts

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