pub fn package_dir(name: String) -> String {
        let install_dir = Self::install_dir();
        let mut package_dir = PathBuf::new();
        package_dir.push(install_dir);
        package_dir.push(name);
        return path_to_string(package_dir);
    }
/// This function returns the absolute path to the hypothetical package
/// directory with a given name. This is used by make_package_dir to 
/// figure out where to create the package installation directory.
This function returns the absolute path to the hypothetical package
directory with a given name. This is used by make_package_dir to
figure out where to create the package installation directory.
This function returns the absolute path to the hypothetical package directory with a given name . This is used by make_package_dir to figure out where to create the package installation directory .
pub fn package_dir(name: String) -> String {
        let install_dir = Self::install_dir();
        let mut package_dir = PathBuf::new();
        package_dir.push(install_dir);
        package_dir.push(name);
        return path_to_string(package_dir);
    }
pub fn package_dir ( name : String ) -> String { let install_dir = Self :: install_dir ( ) ; let mut package_dir = PathBuf :: new ( ) ; package_dir . push ( install_dir ) ; package_dir . push ( name ) ; return path_to_string ( package_dir ) ; }
This function returns the absolute path to the hypothetical package
directory with a given name.
This function returns the absolute path to the hypothetical package directory with a given name .
name
String
name
String