MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / levelSupported

Function levelSupported

internal/instructions/install.go:122–129  ·  view source on GitHub ↗

levelSupported reports whether app supports installs at level.

(app string, level entities.InstallLevel)

Source from the content-addressed store, hash-verified

120
121// levelSupported reports whether app supports installs at level.
122func levelSupported(app string, level entities.InstallLevel) bool {
123 for _, l := range entities.InstructionAppLevels(app) {
124 if l == level {
125 return true
126 }
127 }
128 return false
129}
130
131// checkConflict refuses the install when a CAM-owned symlink for a *different*
132// instruction already occupies the target. When the file belongs to the same

Callers 1

InstallMethod · 0.85

Calls 1

InstructionAppLevelsFunction · 0.92

Tested by

no test coverage detected