steal.get.fetch  function     

Recursively gets the contents of a folder at a url, and puts it at path.

The following gets everything in the controller folder

steal.fetch(
  "https://github.com/jupiterjs/jquerymx/tree/master/controller",
  "jquery/controller/controller",
  {getter: steal.get.git})

API

steal.get.fetch(url, path, options) -> undefined
{Object}

the 'human' folder name

{Object}

a folder on the local filesystem to put the contents of the folder in. Must end in /.

{Object}

options to configure the downloading. It has the following properties:

  • ignore - an array of regular expressions that can be used to ignore certain paths.
  • getter - a getter object with a raw and ls methods.
{undefined}
© Jupiter IT - JavaScriptMVC Training and Support