[][src]Function gchemol::io::write_to_file

pub fn write_to_file<P>(path: P, content: &str) -> Result<(), Error> where
    P: AsRef<Path>, 

Write string to file

Note: Replaces the current file content if the file already exists.