gesha-core 0.0.12

Core functionality for Gesha project
Documentation
1
2
3
4
5
6
7
8
9
use crate::Result;
use crate::io::Reader;
use std::path::Path;

impl Reader {
    pub fn file_to_string(path: impl AsRef<Path>) -> Result<String> {
        Self::new(path.as_ref()).as_string()
    }
}