Commit e56942f5 authored by tlotze's avatar tlotze

updated the docstring of the download utility

git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@120383 62d5b8a3-27da-0310-9561-8e5933582275
parent a6a5a021
......@@ -45,11 +45,14 @@ class Download(object):
Handles the download cache and offline mode.
Download(options=None, cache=None, namespace=None, hash_name=False)
Download(options=None, cache=None, namespace=None,
offline=False, fallback=False, hash_name=False, logger=None)
options: mapping of buildout options (e.g. a ``buildout`` config section)
cache: path to the download cache (excluding namespaces)
namespace: namespace directory to use inside the cache
offline: whether to operate in offline mode
fallback: whether to use the cache as a fallback (try downloading first)
hash_name: whether to use a hash of the URL as cache file name
logger: an optional logger to receive download-related log messages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment