MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getEntry

Function getEntry

frontend/preview/mock/mockfilesystem.ts:444–446  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

442 });
443 }
444 const getEntry = (path: string): MockFsEntry => {
445 return entries.get(normalizeMockPath(path));
446 };
447 const fileInfo = async (data: FileData): Promise<FileInfo> => {
448 const entry = getEntry(data?.info?.path ?? MockHomePath);
449 if (!entry) {

Callers 4

fileInfoFunction · 0.85
fileReadFunction · 0.85
fileListFunction · 0.85
fileJoinFunction · 0.85

Calls 2

normalizeMockPathFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected