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

Function ownerRank

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

Source from the content-addressed store, hash-verified

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