MCPcopy Create free account
hub / github.com/facebook/Rapid / entityName

Method entityName

modules/core/UploaderSystem.js:336–338  ·  view source on GitHub ↗
(entity)

Source from the content-addressed store, hash-verified

334 }
335
336 function entityName(entity) {
337 return l10n.displayName(entity.tags) || (l10n.displayType(entity.id) + ' ' + entity.id);
338 }
339
340 function sameVersions(local, remote) {
341 if (local.version !== remote.version) return false;

Callers

nothing calls this directly

Calls 2

displayNameMethod · 0.80
displayTypeMethod · 0.80

Tested by

no test coverage detected