MCPcopy Index your code
hub / github.com/coder/mux / assertRootSafe

Method assertRootSafe

src/node/services/memoryService.ts:249–249  ·  view source on GitHub ↗

* Validate the root before use without creating it. Host-local roots currently * need no root-level checks; path containment is enforced per target.

()

Source from the content-addressed store, hash-verified

247 * need no root-level checks; path containment is enforced per target.
248 */
249 assertRootSafe(): Promise<void>;
250 /** assertRootSafe + create the root if missing (write paths only). */
251 ensureRoot(): Promise<void>;
252 /** Relative paths of all non-dotfile files under the root, sorted. */

Callers 3

resolveStoreMethod · 0.65
viewMethod · 0.65
listIndexEntriesMethod · 0.65

Implementers 1

LocalMemoryStoresrc/node/services/memoryService.ts

Calls

no outgoing calls

Tested by

no test coverage detected