MCPcopy Create free account
hub / github.com/JaredStewart/coderlm / structure

Function structure

plugin/skills/coderlm/scripts/coderlm_cli.py:484–492  ·  view source on GitHub ↗

Get project file tree. detail: 0-3, depth: 0=unlimited.

(detail: int = 0, depth: int = 0)

Source from the content-addressed store, hash-verified

482
483
484def structure(detail: int = 0, depth: int = 0):
485 """Get project file tree. detail: 0-3, depth: 0=unlimited."""
486 state = _load_state()
487 params = {}
488 if depth:
489 params["depth"] = depth
490 result = _safe_get(state, "/structure", params)
491 print(json.dumps(result, indent=2))
492 return result
493
494
495def variables_list(function: str, file: str):

Callers

nothing calls this directly

Calls 2

_load_stateFunction · 0.85
_safe_getFunction · 0.85

Tested by

no test coverage detected