MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / GetCompiledBinaryFileAbsPath

Function GetCompiledBinaryFileAbsPath

common/utils/binary.go:52–55  ·  view source on GitHub ↗

GetCompiledBinaryFileAbsPath 根据配置文件将对应预编译文件转换成绝对路径

(typeName, moduleName, configDir string)

Source from the content-addressed store, hash-verified

50
51// GetCompiledBinaryFileAbsPath 根据配置文件将对应预编译文件转换成绝对路径
52func GetCompiledBinaryFileAbsPath(typeName, moduleName, configDir string) (string, error) {
53 targetName := GetCompiledBinaryFileName(typeName, moduleName)
54 return filepath.Abs(path.Join(path.Join(configDir, "bin"), targetName))
55}
56
57// ParseGeneratorScript 解析generator脚本
58func ParseGeneratorScript(script string) (string, []string, error) {

Callers 7

isValidatorExistsFunction · 0.92
RunTestlibValidatorCasesFunction · 0.92
runCheckerCaseFunction · 0.92
isCheckerExistsFunction · 0.92
compileJudgerProgramMethod · 0.92
CallGeneratorFunction · 0.85

Calls 1

Tested by

no test coverage detected