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

Function ownerRank

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

Source from the content-addressed store, hash-verified

1523 };
1524
1525 const ownerRank = (owner: Owner): number => readOwners.indexOf(owner);
1526
1527 const sortByOwnerPrecedence = (rows: readonly CoreRow<"plugin_storage">[]) =>
1528 [...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