MCPcopy Create free account
hub / github.com/firebase/firebase-tools / parseProjectNumber

Function parseProjectNumber

src/crashlytics/utils.ts:17–23  ·  view source on GitHub ↗
(appId: string)

Source from the content-addressed store, hash-verified

15}
16
17export function parseProjectNumber(appId: string): string {
18 const appIdParts = appId.split(":");
19 if (appIdParts.length > 1) {
20 return appIdParts[1];
21 }
22 throw new FirebaseError("Unable to get the projectId from the AppId.");
23}
24
25export function parsePlatform(appId: string): PLATFORM_PATH {
26 const appIdParts = appId.split(":");

Callers 8

getIssueFunction · 0.90
updateIssueFunction · 0.90
listEventsFunction · 0.90
batchGetEventsFunction · 0.90
getReportFunction · 0.90
createNoteFunction · 0.90
deleteNoteFunction · 0.90
listNotesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…