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

Method stat

src/node/runtime/DevcontainerRuntime.ts:731–737  ·  view source on GitHub ↗
(filePath: string, abortSignal?: AbortSignal)

Source from the content-addressed store, hash-verified

729 }
730
731 override async stat(filePath: string, abortSignal?: AbortSignal): Promise<FileStat> {
732 const hostPath = this.resolveHostPathForMounted(filePath);
733 if (hostPath) {
734 return super.stat(hostPath, abortSignal);
735 }
736 return this.statViaExec(filePath, abortSignal);
737 }
738
739 override async ensureDir(dirPath: string, abortSignal?: AbortSignal): Promise<void> {
740 const hostPath = this.resolveHostPathForMounted(dirPath);

Callers

nothing calls this directly

Calls 3

statViaExecMethod · 0.95
statMethod · 0.65

Tested by

no test coverage detected