pub fn claim_file(
path: &Path,
content: &[u8],
mode: u32,
) -> Result<bool, ToolError>Expand description
Create path with content only if it does not exist, complete from the first moment it is
visible (temp + hard_link). Ok(false) when path already exists.