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

Function ownerRank

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

Source from the content-addressed store, hash-verified

938 };
939
940 const ownerRank = (owner: Owner): number => readOwners.indexOf(owner);
941
942 const sortByOwnerPrecedence = (rows: readonly CoreRow<"plugin_storage">[]) =>
943 [...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