Struct leo_package::LeoPackage [−][src]
pub struct LeoPackage;
Implementations
pub fn initialize(
package_name: &str,
path: &Path,
author: Option<String>
) -> Result<(), PackageError>
pub fn initialize(
package_name: &str,
path: &Path,
author: Option<String>
) -> Result<(), PackageError>
Initializes a Leo package at the given path.
Returns true
if the given Leo package name is valid.
Removes an imported Leo package