MCPcopy Index your code
hub / github.com/firebase/firebase-tools / RemoveRemote

Interface RemoveRemote

src/database/removeRemote.ts:6–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import * as utils from "../utils";
5
6export interface RemoveRemote {
7 /**
8 * @param path the path to delete
9 * @return false if the deleteion failed because the path exceeds the writeSizeLimit.
10 */
11 deletePath(path: string): Promise<boolean>;
12
13 /**
14 * @param path the path to delete subpaths from
15 * @param subPaths the subpaths
16 * @return false if the deleteion failed because the the total size of subpaths exceeds the writeSizeLimit.
17 */
18 deleteSubPath(path: string, subPaths: string[]): Promise<boolean>;
19}
20
21export class RTDBRemoveRemote implements RemoveRemote {
22 private instance: string;

Callers 6

deletePathMethod · 0.65
deleteSubPathMethod · 0.65

Implementers 3

RTDBRemoveRemotesrc/database/removeRemote.ts
FakeRemoveRemotesrc/database/fakeRemoveRemote.spec.ts
DatabaseRemovesrc/database/remove.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…