MCPcopy
hub / github.com/jvilk/BrowserFS / syncSync

Method syncSync

src/generic/key_value_filesystem.ts:244–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 }
243
244 public syncSync(): void {
245 if (this.isDirty()) {
246 this._fs._syncSync(this.getPath(), this.getBuffer(), this.getStats());
247 this.resetDirty();
248 }
249 }
250
251 public closeSync(): void {
252 this.syncSync();

Callers 1

closeSyncMethod · 0.95

Calls 6

isDirtyMethod · 0.80
getPathMethod · 0.80
getBufferMethod · 0.80
resetDirtyMethod · 0.80
_syncSyncMethod · 0.45
getStatsMethod · 0.45

Tested by

no test coverage detected