{"ast_node_type":"function","tokens":[{"end":80,"kind":"keyword","start":0,"text":"pub"}]}
pub fn try_ensure_file_contents(file: &Path, contents: &str) -> Result<(), ()> {
/// case, updates the file and return an Error.
    match std::fs::read_to_string(file) {