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

Function save

src/runtime/eveSource.ts:59–64  ·  view source on GitHub ↗
(file:string, content:string)

Source from the content-addressed store, hash-verified

57
58/** Using the inferred workspace from the file path, update the contents of the file. */
59export function save(file:string, content:string) {
60 let workspace = getWorkspaceFromPath(file);
61 if(!workspace) return;
62
63 return set(file, content, workspace);
64}
65
66//---------------------------------------------------------
67// Utilities

Callers

nothing calls this directly

Calls 2

getWorkspaceFromPathFunction · 0.85
setFunction · 0.85

Tested by

no test coverage detected