package
1.9.31
Repository: https://github.com/jfrog/build-info-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AsyncMultiWriter creates a writer that duplicates its writes to all the provided writers asynchronous.
CalcChecksums calculates all hashes at once using AsyncMultiWriter.
CalcChecksumsBytes calculates hashes like `CalcChecksums`, returns result as bytes.
Old runs/tests may leave junk at temp dir.
Copy directory content from one path to another.
No description provided by the author
No description provided by the author
Save all the extractor's properties into a local file.
No description provided by the author
Create a temp file of build-info.
CreateTempDir creates a temporary directory and returns its path.
No description provided by the author
No description provided by the author
No description provided by the author
FindFileInDirAndParents looks for a file named fileName in dirPath and its parents, and returns the path of the directory where it was found.
No description provided by the author
GetCachePath returns the location of downloads dir inside the GOMODCACHE.
Runs 'go mod graph' command and returns map that maps dependencies to their child dependencies slice.
Runs go list -f {{with .Module}}{{.Path}}:{{.Version}}{{end}} all command and returns map of the dependencies.
Return the file's name and dir of a given path by finding the index of the last separator in the path.
No description provided by the author
No description provided by the author
No description provided by the author
Get the file info of the file in path.
No description provided by the author
GetGoModCachePath returns the location of the go module cache.
Runs 'go list -m' command and returns module name.
No description provided by the author
No description provided by the author
Returns the root dir where the go.mod located.
No description provided by the author
Check if path points at a directory.
Check if path points at a file.
No description provided by the author
No description provided by the author
IsPathExists checks if a path exists.
No description provided by the author
No description provided by the author
Return the list of files and directories in the specified path.
Return all files in the specified path who satisfy the filter func.
Move directory content from one path to another.
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes.
NewDefaultLogger creates a new logger with a given LogLevel.
strip '\n' or read until EOF, return error if read error readNLines reads up to 'total' number of lines separated by \n.
Remove the credentials information from the line.
No description provided by the author
No description provided by the author
No description provided by the author
Parses the JSON-encoded data and stores the result in the value pointed to by 'loadTarget'.
No description provided by the author

# Constants

#nosec G101 -- False positive - no hardcoded credentials.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
NullLog is a logger that does nothing.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
The handle error function is designed to manage errors that occur while running the 'go list' command.
No description provided by the author