MCPcopy Index your code
hub / github.com/GraphiteEditor/Graphite / flush

Method flush

document/container/src/backends/opfs.rs:73–83  ·  view source on GitHub ↗

Wait until all queued non-blocking mutations have hit disk, so awaited reads observe them. Plants a barrier at the back of the queue and awaits the worker reaching it; by FIFO order, everything ahead is then applied. Draining stays the worker's job so it remains the sole mutator.

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

write_sizedMethod · 0.45
readMethod · 0.45
writeMethod · 0.45
appendMethod · 0.45
write_sizedMethod · 0.45
listMethod · 0.45
list_dirsMethod · 0.45
existsMethod · 0.45
removeMethod · 0.45

Calls 2

lockMethod · 0.80
kick_workerFunction · 0.70

Tested by

no test coverage detected