@salesforce/b2c-tooling-sdk / discovery / DetectionContext
Interface: DetectionContext
Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:44
Context passed to a detection pattern's detect function.
Properties
maxDepth?
optionalmaxDepth:number
Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:51
Maximum directory depth (in path segments, relative to the workspace root) that filesystem-scanning patterns should recurse. Undefined means unbounded. Bounding this protects against costly walks when the workspace root is broad (e.g. an MCP server launched from a home directory).