Struct buildchain::Source
[−]
[src]
pub struct Source { pub kind: String, pub url: String, }
A source code repository
Fields
kind: String
url: String
Methods
impl Source
[src]
fn download<P: AsRef<Path>>(&self, directory: P) -> Result<u64>
Download the source code repository to the given directory
Trait Implementations
impl Clone for Source
[src]
fn clone(&self) -> Source
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more