pub fn ensure(&self, module_name: &str) -> Result<PathBuf> {
        // Temporary while API is fleshed out.
        if module_name == "not-an-sdk-module" {
            bail!("Error TBD");
        }
        Ok(self.sdk_path.join("fake").join("path"))
    }
/// Make a module available for use.
///
/// If the module identified by 'module_name' is already downloaded and up
/// to date the path to the module will be returned immediately.
/// If module is missing, it will be downloaded made ready before returning
/// the path.
Make a module available for use.
If the module identified by 'module_name' is already downloaded and up
to date the path to the module will be returned immediately.
If module is missing, it will be downloaded made ready before returning
the path.
Make a module available for use . If the module identified by ' module_name ' is already downloaded and up to date the path to the module will be returned immediately . If module is missing it will be downloaded made ready before returning the path .
pub fn ensure(&self, module_name: &str) -> Result<PathBuf> {
        // Temporary while API is fleshed out.
        if module_name == "not-an-sdk-module" {
            bail!("Error TBD");
        }
        Ok(self.sdk_path.join("fake").join("path"))
    }
pub fn ensure ( & self , module_name : & str ) -> Result < PathBuf > { // Temporary while API is fleshed out. if module_name == " " { bail ! ( " " ) ; } Ok ( self . sdk_path . join ( " " ) . join ( " " ) ) }
Make a module available for use.
Make a module available for use .
&self
module_name
&str
&self
module_name
&str