MCPcopy Create free account
hub / github.com/Huxpro/js-module-7day / getFirstCommonAncestorID

Function getFirstCommonAncestorID

example/webpack/bundle.js:2265–2288  ·  view source on GitHub ↗

* Gets the nearest common ancestor ID of two IDs. * * Using this ID scheme, the nearest common ancestor ID is the longest common * prefix of the two IDs that immediately preceded a "marker" in both strings. * * @param {string} oneID * @param {string} twoID * @return {string} Nearest co

(oneID, twoID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bundle.jsFile · 0.70

Calls 3

isBoundaryFunction · 0.70
invariantFunction · 0.70
isValidIDFunction · 0.70

Tested by

no test coverage detected