MCPcopy Create free account
hub / github.com/CommE2E/comm / serverEntryInfo

Function serverEntryInfo

lib/shared/entry-utils.js:219–226  ·  view source on GitHub ↗
(rawEntryInfo: RawEntryInfo)

Source from the content-addressed store, hash-verified

217}
218
219function serverEntryInfo(rawEntryInfo: RawEntryInfo): ?RawEntryInfo {
220 const { id } = rawEntryInfo;
221 if (!id) {
222 return null;
223 }
224 const { localID, ...rest } = rawEntryInfo;
225 return { ...rest }; // we only do this for Flow
226}
227
228function serverEntryInfosObject(
229 array: $ReadOnlyArray<RawEntryInfo>,

Callers 1

serverEntryInfosObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected