MCPcopy Index your code
hub / github.com/witheve/Eve / find

Function find

src/runtime/eveSource.ts:41–46  ·  view source on GitHub ↗
(file:string)

Source from the content-addressed store, hash-verified

39
40/** Using the inferred workspace from the file path, return the contents of the file. */
41export function find(file:string):string|undefined {
42 let workspace = getWorkspaceFromPath(file);
43 if(!workspace) return;
44
45 return get(file, workspace);
46}
47
48/** Given an explicit workspace, update the contents of the file. */
49export function set(file:string, content:string, workspace = "eve") {

Callers

nothing calls this directly

Calls 2

getWorkspaceFromPathFunction · 0.85
getFunction · 0.70

Tested by

no test coverage detected