MCPcopy Create free account
hub / github.com/HashLoad/boss / HashDelphiPath

Function HashDelphiPath

env/env.go:20–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18var GlobalConfiguration, _ = LoadConfiguration(GetBossHome())
19
20func HashDelphiPath() string {
21 hasher := md5.New()
22 hasher.Write([]byte(strings.ToLower(GlobalConfiguration.DelphiPath)))
23 hashString := hex.EncodeToString(hasher.Sum(nil))
24 if Internal {
25 hashString = consts.BossInternalDir + hashString
26 }
27 return hashString
28}
29
30func GetInternalGlobalDir() string {
31 internalOld := Internal

Callers 3

migrationFunction · 0.92
GetInternalGlobalDirFunction · 0.85
getwdFunction · 0.85

Calls 2

NewMethod · 0.80
WriteMethod · 0.80

Tested by

no test coverage detected