package
1.2.34
Repository: https://github.com/sap/cloud-mta-build-tool.git
Documentation: pkg.go.dev

# Functions

Archive module and mtar artifacts, compatible with the JAR specification to support the spec requirements Source Path to be zipped Target artifact.
CloseFile - closes file error handling takes into account error of the calling function.
CopyByPatterns - copy files/directories according to patterns from source folder to target folder patterns are relative to source folder.
CopyDir - copy directory content.
CopyEntries - copies entries (files and directories) from source to destination folder.
CopyEntriesInParallel - copies entries (files and directories) from source to destination folder in parallel.
CopyFile - copy file content.
CopyFileWithMode - copy file content using file mode parameter.
CreateDirIfNotExist - Create new dir.
CreateFile - create new file.
No description provided by the author
FindPath returns the path or its first match in case it's a pattern.
Location - provides Location parameters of MTA.
ModuleLocation - provides target location of stand alone MTA module build result.
RemoveDirIfExist - remove dir.
ValidateDeploymentDescriptor validates the deployment descriptor.
WriteFile - writes file content.

# Constants

Dep - deployment descriptor.
Dev - development descriptor.
FolderCreationFailedMsg - message raised when folder creation fails because of the existence file with identical name.
InitLocFailedOnWorkDirMsg - message raised on getting working directory when initializing location.
InvalidDescMsg - invalid descriptor.
Mtad - deployment descriptor file name.
MtarFolder - default archives folder.
SBomTempFolderSuffix - sbom temporary folder suffix.
TempFolderSuffix - temporary folder suffix.

# Structs

Loc - MTA tool file properties.
ModuleLoc - module location type that provides services for stand alone module build command.

# Interfaces

IDescriptor - descriptor interface.
IModule - module interface.
IMtaExtYaml - MTA Extension Yaml interface.
IMtaParser - MTA Parser interface.
IMtaYaml - MTA Yaml interface.
ISourceModule - source module interface.
ITargetArtifacts - target artifacts interface.
ITargetModule - Target Module interface.
ITargetPath - target path interface.