read_styles

Function read_styles 

Source
pub fn read_styles(path: &Path) -> Result<String, Error>
Expand description

If path points to singe file, returns file content as String

If path points to directory, reads all .css files and combines them to single String

ยงErrors

Returns std::io::Error if path is not readable