()
| 18 | var GlobalConfiguration, _ = LoadConfiguration(GetBossHome()) |
| 19 | |
| 20 | func 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 | |
| 30 | func GetInternalGlobalDir() string { |
| 31 | internalOld := Internal |
no test coverage detected