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

Method save

src/rc.ts:236–244  ·  view source on GitHub ↗

* Persists the RC file to disk, or returns false if no path on the instance.

()

Source from the content-addressed store, hash-verified

234 * Persists the RC file to disk, or returns false if no path on the instance.
235 */
236 save() {
237 if (this.path) {
238 fs.writeFileSync(this.path, JSON.stringify(this.data, null, 2), {
239 encoding: "utf8",
240 });
241 return true;
242 }
243 return false;
244 }
245}

Callers 15

addProjectAliasMethod · 0.95
removeProjectAliasMethod · 0.95
applyTargetMethod · 0.95
removeTargetMethod · 0.95
clearTargetMethod · 0.95
setEtagsMethod · 0.95
tests.tsFile · 0.80
gcs-js-sdk.test.tsFile · 0.80
index.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected