package
1.429.0
Repository: https://github.com/sap/jenkins-library.git
Documentation: pkg.go.dev

# Functions

ContainsStringPart checks whether the element is contained as part of one of the elements of the slice.
Copy ...
CopyAtoB copies the contents of a into slice b given that they are of equal size and compatible type.
CopyData transfers the bytes from src to dst without doing close handling implicitly.
No description provided by the author
No description provided by the author
ExcludeFiles returns a slice of files, which contains only the sub-set of files that matched none of the glob patterns in the provided excludes list.
ExecuteTemplate parses the provided template, substitutes values and returns the output.
ExecuteTemplateFunctions parses the provided template, applies the transformation functions, substitutes values and returns the output.
FileExists returns true if the file system entry for the given path exists and is not a directory.
No description provided by the author
No description provided by the author
No description provided by the author
PersistReportsAndLinks stores the report paths and links in JSON format in the workspace for processing outside.
Prefix adds a prefix to each element of the slice.
PrefixIfNeeded adds a prefix to each element of the slice if not already prefixed.
RemoveAll removes all instances of element from the slice and returns a truncated slice as well as a boolean to indicate whether at least one element was found and removed.
No description provided by the author
SplitAndTrim iterates over the strings in the given slice and splits each on the provided separator.
No description provided by the author
Trim removes dangling whitespaces from each element of the slice, empty elements are dropped.
UniqueStrings removes duplicates from values.
Untar will decompress a gzipped archive and then untar it, moving all files and folders within the tgz file (parameter 1) to an output directory (parameter 2).
Unzip will decompress a zip archive, moving all files and folders within the zip file (parameter 1) to an output directory (parameter 2).
Values returns the slice of values of the map provided.

# Structs

To serialize the cyclonedx BOM file.
No description provided by the author
No description provided by the author
Files ...
No description provided by the author
Path - struct to serialize paths and some metadata back to the invoker.
ProjectStructure describes a directory containing source code.

# Interfaces

FileUtils ...