MCPcopy Create free account
hub / github.com/emwalker/digraph / displayName

Function displayName

client/src/mutations/updateTopicSynonymsMutation.ts:27–30  ·  view source on GitHub ↗
(synonyms: readonly SynonymType[], timerangPrefix: string | null)

Source from the content-addressed store, hash-verified

25}
26
27function displayName(synonyms: readonly SynonymType[], timerangPrefix: string | null) {
28 const suffix = name(synonyms)
29 return timerangPrefix ? `${timerangPrefix} ${suffix}` : suffix
30}
31
32function optimisticResponse(repoTopic: RepoTopicType, synonymUpdate: SynonymType[]) {
33 const synonyms = repoTopic.details?.synonyms || []

Callers 1

optimisticResponseFunction · 0.85

Calls 1

nameFunction · 0.85

Tested by

no test coverage detected