pub fn make_package_dir(name: String) -> Result<(), String> {
        let package_dir = Self::package_dir(name);

        // Always return Ok, create_dir_all fails when the dir already exists
        match create_dir_all(package_dir) {
            Ok(_) => Ok(()),
            Err(_) => Ok(())
        }
    }
/// This function makes the installation directory for a specific package,
/// as opposed to make_install_dir, which creates the directory containing
/// all rapture's installs.
This function makes the installation directory for a specific package,
as opposed to make_install_dir, which creates the directory containing
all rapture's installs.
This function makes the installation directory for a specific package as opposed to make_install_dir which creates the directory containing all rapture ' s installs .
pub fn make_package_dir(name: String) -> Result<(), String> {
        let package_dir = Self::package_dir(name);
        // Always return Ok, create_dir_all fails when the dir already exists
        match create_dir_all(package_dir) {
            Ok(_) => Ok(()),
            Err(_) => Ok(())
        }
    }
pub fn make_package_dir ( name : String ) -> Result < ( ) , String > { let package_dir = Self :: package_dir ( name ) ; // Always return Ok, create_dir_all fails when the dir already exists match create_dir_all ( package_dir ) { Ok ( _ ) => Ok ( ( ) ) , Err ( _ ) => Ok ( ( ) ) } }
This function makes the installation directory for a specific package,
as opposed to make_install_dir, which creates the directory containing
all rapture's installs.
This function makes the installation directory for a specific package as opposed to make_install_dir which creates the directory containing all rapture ' s installs .
name
String
name
String