Update docs/source/architecture.md

pull/692/head
Chris Holdgraf 2019-05-29 10:45:59 -07:00 zatwierdzone przez GitHub
rodzic be144374bc
commit 5c33eb08c8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -124,7 +124,8 @@ commands:
> For example, the [`Local` ContentProvider](https://github.com/jupyter/repo2docker/blob/80b979f8580ddef184d2ba7d354e7a833cfa38a4/repo2docker/contentproviders/base.py#L64)
> checks whether the argument is a valid local path. If so, then `detect(`
> returns true.
> returns a dictionary: `{'path': source}` which defines the path to the repository.
> This path is used by `fetch()` to check that it matches the output directory.
* If `detect()` returns something other than `None`, run `fetch()` with the
returned value as its argument. This should
result in the contents of the repository being placed locally to a folder.