MCPcopy Create free account
hub / github.com/Noumena-Network/code / transitionHyperlink

Function transitionHyperlink

src/ink/log-update.ts:986–996  ·  view source on GitHub ↗
(
  diff: Diff,
  current: Hyperlink,
  target: Hyperlink,
)

Source from the content-addressed store, hash-verified

984}
985
986function transitionHyperlink(
987 diff: Diff,
988 current: Hyperlink,
989 target: Hyperlink,
990): Hyperlink {
991 if (current !== target) {
992 diff.push({ type: 'hyperlink', uri: target ?? '' })
993 return target
994 }
995 return current
996}
997
998function transitionStyle(
999 diff: Diff,

Callers 2

renderMethod · 0.85
renderFrameSliceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected