Clone.clone Async

Clone.clone(url, local_path, [options]).then(function(repository) {
  // Use repository
});

Patch repository cloning to automatically coerce objects.

Parameters Type  
url String url of the repository
local_path String local path to store repository
[options] CloneOptions  
Returns  
Repository repo

Clone.LOCAL ENUM

Flag Value
Clone.LOCAL.AUTO 0
Clone.LOCAL.LOCAL 1
Clone.LOCAL.NO_LOCAL 2
Clone.LOCAL.NO_LINKS 3