pub fn make_install_dir() -> Result<(), String> {
        // the string for the absolute path to install dir
        let install_dir = Self::install_dir();
    
        // create install dir and parent dirs
        match create_dir_all(install_dir) {
            Ok(_) => Ok(()),
            Err(_) => Ok(())
        }
    }
/// This function creates the install directory for all rapture packages.
/// When rapture starts, it runs this method to verify that the `.rapture`
/// folder exists so you're able to install packages to that directory.
/// 
/// This function must always be run on startup.
This function creates the install directory for all rapture packages.
When rapture starts, it runs this method to verify that the `.rapture`
folder exists so you're able to install packages to that directory.

This function must always be run on startup.
This function creates the install directory for all rapture packages . When rapture starts it runs this method to verify that the ` . rapture ` folder exists so you ' re able to install packages to that directory . This function must always be run on startup .
pub fn make_install_dir() -> Result<(), String> {
        // the string for the absolute path to install dir
        let install_dir = Self::install_dir();
        // create install dir and parent dirs
        match create_dir_all(install_dir) {
            Ok(_) => Ok(()),
            Err(_) => Ok(())
        }
    }
pub fn make_install_dir ( ) -> Result < ( ) , String > { // the string for the absolute path to install dir let install_dir = Self :: install_dir ( ) ; // create install dir and parent dirs match create_dir_all ( install_dir ) { Ok ( _ ) => Ok ( ( ) ) , Err ( _ ) => Ok ( ( ) ) } }
This function creates the install directory for all rapture packages.
This function creates the install directory for all rapture packages .