pub fn initialize(sass_dir: &Path, css_dir: &Path) -> Option<Self> {
        let sass_dir_buf = match sass_dir.normalize() {
            Ok(dir) => dir.into_path_buf(),
            Err(e) => {
                rocket::error!("Invalid sass directory '{}': {}.", sass_dir.display(), e);
                return None;
            }
        };
        
        let css_dir_buf = match css_dir.normalize() {
            Ok(dir) => dir.into_path_buf(),
            Err(e) => {
                rocket::error_!("Invalid css directory '{}': {}.", css_dir.display(), e);
                return None;
            }
        };

        Some(Self { sass_dir: sass_dir_buf, css_dir: css_dir_buf })
    }
/// Initializes the `Context` while checking for bad configuration
Initializes the `Context` while checking for bad configuration
Initializes the ` Context ` while checking for bad configuration
pub fn initialize(sass_dir: &Path, css_dir: &Path) -> Option<Self> {
        let sass_dir_buf = match sass_dir.normalize() {
            Ok(dir) => dir.into_path_buf(),
            Err(e) => {
                rocket::error!("Invalid sass directory '{}': {}.", sass_dir.display(), e);
                return None;
            }
        };
        let css_dir_buf = match css_dir.normalize() {
            Ok(dir) => dir.into_path_buf(),
            Err(e) => {
                rocket::error_!("Invalid css directory '{}': {}.", css_dir.display(), e);
                return None;
            }
        };
        Some(Self { sass_dir: sass_dir_buf, css_dir: css_dir_buf })
    }
pub fn initialize ( sass_dir : & Path , css_dir : & Path ) -> Option < Self > { let sass_dir_buf = match sass_dir . normalize ( ) { Ok ( dir ) => dir . into_path_buf ( ) , Err ( e ) => { rocket :: error ! ( " " sass_dir display ( ) e ) ; return None ; } } ; let css_dir_buf = match css_dir . normalize ( ) { Ok ( dir ) => dir . into_path_buf ( ) , Err ( e ) => { rocket :: error_ ! ( " " css_dir display ( ) e ) ; return None ; } } ; Some ( Self { sass_dir : sass_dir_buf , css_dir : css_dir_buf } ) }
Initializes the `Context` while checking for bad configuration
Initializes the ` Context ` while checking for bad configuration
sass_dir
&Path
css_dir
&Path
sass_dir
&Path
css_dir
&Path