Skip to content

Commit 2e7a5d9

Browse files
committed
Tweak docstring to make it more understandable
1 parent 1cef296 commit 2e7a5d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

repo2docker/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ def _user_name_default(self):
194194
)
195195

196196
def fetch(self, url, ref, checkout_path):
197-
"""Check out a repo using url and ref to the checkout_path locationself.
197+
"""Fetch the contents of `url` and place it in `checkout_path`.
198+
199+
The `ref` parameter specifies what "version" of the contents should be
200+
fetched. In the case of a git repository `ref` is the SHA-1 of a commit.
198201
199202
Iterate through possible content providers until a valid provider,
200203
based on URL, is found.

0 commit comments

Comments
 (0)