Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1Panel-dev/1Panel
/ IsLocalApp
Method
IsLocalApp
agent/app/model/app.go:44–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
}
43
44
func
(i *App) IsLocalApp() bool {
45
return
i.Resource == constant.ResourceLocal
46
}
47
func
(i *App) IsCustomApp() bool {
48
return
i.Resource == constant.AppResourceCustom
49
}
Callers
3
GetAppResourcePath
Method · 0.95
GetUpdateVersions
Method · 0.80
downloadApp
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected