MCPcopy Create free account
hub / github.com/DEROFDN/Engram / engramCanStoreMethod

Function engramCanStoreMethod

functions.go:3350–3359  ·  view source on GitHub ↗

Check if method is in Engram's noStore list

(method string)

Source from the content-addressed store, hash-verified

3348
3349// Check if method is in Engram's noStore list
3350func engramCanStoreMethod(method string) bool {
3351 noStoreMethods := engramNoStoreMethods()
3352 for _, m := range noStoreMethods {
3353 if m == method {
3354 return false
3355 }
3356 }
3357
3358 return true
3359}
3360
3361// Set XSWD permissions to the local Graviton tree
3362func setPermissions() {

Callers 1

layoutXSWDPermissionsFunction · 0.85

Calls 1

engramNoStoreMethodsFunction · 0.85

Tested by

no test coverage detected