pub fn locked_read_to_string(path: impl AsRef<Path>) -> Result<String>
Reads the entire contents of a locked shared file into a string.