MCPcopy Create free account
hub / github.com/dethcrypto/dethcode / byPathLength

Function byPathLength

packages/ethereum-viewer/src/openContractSource.ts:163–166  ·  view source on GitHub ↗
(
  a: [string, ...unknown[]],
  b: [string, ...unknown[]]
)

Source from the content-addressed store, hash-verified

161}
162
163const byPathLength = (
164 a: [string, ...unknown[]],
165 b: [string, ...unknown[]]
166): number => b[0].split("/").length - a[0].split("/").length;
167
168// A note for later?
169// function _onFileChangeOnce(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected