MCPcopy Create free account
hub / github.com/cloudflare/computer / updateMeta

Function updateMeta

packages/computerd/src/fuse/driver.ts:191–193  ·  view source on GitHub ↗
(path: string, patch: MetaOverride)

Source from the content-addressed store, hash-verified

189 }
190 const meta = new Map<string, MetaOverride>();
191 const updateMeta = (path: string, patch: MetaOverride): void => {
192 meta.set(path, { ...meta.get(path), ...patch });
193 };
194
195 // Buffer-backed file content store. Sidesteps platformatic VFS's
196 // whole-file readFileSync/writeFileSync cycle, which is O(N²) for

Callers 3

chmodFunction · 0.85
chownFunction · 0.85
utimensFunction · 0.85

Calls 2

setMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected