Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.buildout
Commits
7033957c
Commit
7033957c
authored
Feb 16, 2011
by
Thomas Lotze
Committed by
Jim Fulton
May 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the docstring of the download utility
parent
69097315
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/zc/buildout/download.py
src/zc/buildout/download.py
+4
-1
No files found.
src/zc/buildout/download.py
View file @
7033957c
...
@@ -45,11 +45,14 @@ class Download(object):
...
@@ -45,11 +45,14 @@ class Download(object):
Handles the download cache and offline mode.
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)
options: mapping of buildout options (e.g. a ``buildout`` config section)
cache: path to the download cache (excluding namespaces)
cache: path to the download cache (excluding namespaces)
namespace: namespace directory to use inside the cache
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
hash_name: whether to use a hash of the URL as cache file name
logger: an optional logger to receive download-related log messages
logger: an optional logger to receive download-related log messages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment