MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / formatEditError

Function formatEditError

tools/builtin.go:1286–1291  ·  view source on GitHub ↗
(code editErrorCode, detail string)

Source from the content-addressed store, hash-verified

1284 out := make([]string, 0, len(paths))
1285 for _, path := range paths {
1286 if ok, _ := checkAllowedReadRoots(path, readRoots); ok {
1287 continue
1288 }
1289 if ok, _ := checkAllowedWriteRoots(path, writeRoots); ok {
1290 continue
1291 }
1292 out = append(out, path)
1293 }
1294 return out

Callers 3

ValidateInputMethod · 0.85
ExecuteMethod · 0.85
checkCascadingEditFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected