pub fn new(path: &Path, id: &SourceId, config: &'cfg Config)
               -> PathSource<'cfg> {
        trace!("new; id={}", id);

        PathSource {
            id: id.clone(),
            path: path.to_path_buf(),
            updated: false,
            packages: Vec::new(),
            config: config,
        }
    }
/// Invoked with an absolute path to a directory that contains a Cargo.toml.
/// The source will read the manifest and find any other packages contained
/// in the directory structure reachable by the root manifest.
Invoked with an absolute path to a directory that contains a Cargo.toml.
The source will read the manifest and find any other packages contained
in the directory structure reachable by the root manifest.
Invoked with an absolute path to a directory that contains a Cargo . toml . The source will read the manifest and find any other packages contained in the directory structure reachable by the root manifest .
pub fn new(path: &Path, id: &SourceId, config: &'cfg Config)
               -> PathSource<'cfg> {
        trace!("new; id={}", id);
        PathSource {
            id: id.clone(),
            path: path.to_path_buf(),
            updated: false,
            packages: Vec::new(),
            config: config,
        }
    }
pub fn new ( path : & Path , id : & SourceId , config : & ' cfg Config ) -> PathSource < ' cfg > { trace ! ( " " id ) ; PathSource { id : id . clone ( ) , path : path . to_path_buf ( ) , updated : false , packages : Vec :: new ( ) , config : config , } }
Invoked with an absolute path to a directory that contains a Cargo.toml.
Invoked with an absolute path to a directory that contains a Cargo . toml .
path
&Path
id
&SourceId
config
&'cfg Config
path
&Path
id
&SourceId
config
&'cfg Config