//! Serializes writes to the same file across concurrently running tool calls.
use HashMap;
use ;
use ;
/// Runs `work` once every earlier mutation of the same file (by real path) has
/// finished.
pub async
/// pi's `withFileMutationQueue` for work outside the host: waits until every
/// earlier mutation of the same file (by real path) has finished, and holds
/// the file until the guard drops.
pub async