MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / composite

Function composite

packages/plugins/encrypted-secrets/src/index.test.ts:20–20  ·  view source on GitHub ↗
(collection: string, key: string)

Source from the content-addressed store, hash-verified

18const makeFakeStorage = () => {
19 const rows = new Map<string, { owner: Owner; key: string; collection: string; data: unknown }>();
20 const composite = (collection: string, key: string) => `${collection} ${key}`;
21 const toEntry = (row: { owner: Owner; key: string; collection: string; data: unknown }) => ({
22 id: composite(row.collection, row.key),
23 owner: row.owner,

Callers 2

toEntryFunction · 0.70
makeFakeStorageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected