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

Function GetCompiledBinaryFileName

common/utils/binary.go:43–49  ·  view source on GitHub ↗

GetCompiledBinaryFileName 获取testlib的二进制程序前缀名

(typeName, moduleName string)

Source from the content-addressed store, hash-verified

41
42// GetCompiledBinaryFileName 获取testlib的二进制程序前缀名
43func GetCompiledBinaryFileName(typeName, moduleName string) string {
44 prefix, ok := constants.TestlibBinaryPrefixs[typeName]
45 if !ok {
46 prefix = ""
47 }
48 return prefix + moduleName
49}
50
51// GetCompiledBinaryFileAbsPath 根据配置文件将对应预编译文件转换成绝对路径
52func GetCompiledBinaryFileAbsPath(typeName, moduleName, configDir string) (string, error) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected