MCPcopy
hub / github.com/teambit/bit / write

Method write

src/consumer/consumer.ts:215–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 }
214
215 async write(): Promise<Consumer> {
216 await Promise.all([this.config.write({ workspaceDir: this.projectPath }), this.scope.ensureDir()]);
217 this.bitMap.markAsChanged();
218 await this.bitMap.write();
219 return this;
220 }
221
222 getPath(): PathOsBased {
223 return this.projectPath;

Callers 5

writeAndExitMethod · 0.45
serializeErrAndExitFunction · 0.45
migrateMethod · 0.45
loadMethod · 0.45
onDestroyMethod · 0.45

Calls 2

markAsChangedMethod · 0.80
ensureDirMethod · 0.45

Tested by

no test coverage detected