MCPcopy
hub / github.com/openai/plugins / inspect_target

Function inspect_target

plugins/codex-security/scripts/workbench_db.py:775–781  ·  view source on GitHub ↗
(target_path: str)

Source from the content-addressed store, hash-verified

773
774
775def inspect_target(target_path: str) -> dict[str, Any]:
776 target = require_target(target_path)
777 return {
778 "displayName": target.name,
779 "targetMetadata": git_target_metadata(target),
780 "targetPath": str(target),
781 }
782
783
784def resolve_git_commit(target: Path, revision: str, label: str) -> str:

Callers 3

inspect_setup_valuesFunction · 0.85
recent_targetsFunction · 0.85
mainFunction · 0.85

Calls 2

git_target_metadataFunction · 0.90
require_targetFunction · 0.85

Tested by

no test coverage detected