utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var YAMLExtensions = []string{".yaml", ".yml"}

YAMLExtensions contains the valid YAML file extensions

Functions

func IsLocalPath

func IsLocalPath(path string) bool

IsLocalPath determines if a path is a local filesystem path This is used by both go/bump analysis and vulnerability scanning to identify local module replacements that should be treated specially

func IsYAMLFile

func IsYAMLFile(filename string) bool

IsYAMLFile checks if a filename has a YAML extension

Types

This section is empty.

Jump to

Keyboard shortcuts

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