Skip to main content

partial_path

Function partial_path 

Source
pub fn partial_path(target: &Path) -> PathBuf
Expand description

Legacy temporary-name helper, retained for API compatibility. Recordings no longer open this predictable path; publication creates exclusive staging. commit_plan locks a sibling of the plan and refuses when the bytes it read are gone. A writer that does not call it is not blocked, and a change that lands before that locked re-read is refused rather than overwritten.