util

package
v1.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

func IsSubPath added in v1.0.0

func IsSubPath(subject, path string) (bool, error)

IsSubPath checks (lexically) if subject is a subpath of path.

func ParseSpecVersion added in v1.4.0

func ParseSpecVersion(specVersion string) (sv cdx.SpecVersion, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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