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

Function UpdateLibraryPath

utils/librarypath/librarypath.go:16–23  ·  view source on GitHub ↗
(pkg *models.Package)

Source from the content-addressed store, hash-verified

14)
15
16func UpdateLibraryPath(pkg *models.Package) {
17 if env.Global {
18 updateGlobalLibraryPath()
19 } else {
20 updateDprojLibraryPath(pkg)
21 }
22
23}
24
25func cleanPath(paths []string, fullPath bool) []string {
26 prefix := env.GetModulesDir()

Callers 1

DoInstallFunction · 0.92

Calls 2

updateDprojLibraryPathFunction · 0.85
updateGlobalLibraryPathFunction · 0.70

Tested by

no test coverage detected