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

Function readNamespaces

packages/core/sdk/src/blob.ts:83–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 pluginId: string,
82): PluginBlobStore => {
83 const readNamespaces = (): readonly string[] =>
84 (partitions.user == null ? [partitions.org] : [partitions.user, partitions.org]).map((p) =>
85 nsFor(p, pluginId),
86 );
87
88 const partitionFor = (owner: Owner): Effect.Effect<string, StorageError> => {
89 if (owner === "org") return Effect.succeed(partitions.org);

Callers 1

pluginBlobStoreFunction · 0.85

Calls 1

nsForFunction · 0.85

Tested by

no test coverage detected