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

Function ownerRank

packages/core/sdk/src/executor.ts:1164–1164  ·  view source on GitHub ↗
(owner: Owner)

Source from the content-addressed store, hash-verified

1162 };
1163
1164 const ownerRank = (owner: Owner): number => readOwners.indexOf(owner);
1165
1166 const sortByOwnerPrecedence = (rows: readonly CoreRow<"plugin_storage">[]) =>
1167 [...rows].sort((left, right) => {

Callers 3

resolveToolPolicyFunction · 0.70
sortByOwnerPrecedenceFunction · 0.70
queryCollectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected