Skip to content

Commit

Permalink
fix things from review №3
Browse files Browse the repository at this point in the history
  • Loading branch information
bleudev committed Jun 29, 2024
1 parent 14cf541 commit 44441dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/github/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ One folder:
```python
download_folder("honey-team/ufpy", "examples", "C:/Users/<name>/ufpy-tests")
# create the C:/Users/<name>/ufpy-tests/examples folder
# and copy origin/examples contents from main branch in this folder
# and copy the contents of origin/examples from the main branch into this folder

with UGithubDownloader("honey-team/ufpy", "C:/Users/<name>/ufpy-tests") as gd:
gd.download_folder("examples") # Same
Expand All @@ -90,7 +90,7 @@ Two folders:
```python
download_folder("honey-team/ufpy", ["examples", ".github"], "C:/Users/<name>/ufpy-tests")
# create C:/Users/<name>/ufpy-tests/examples and C:/Users/<name>/ufpy-tests/.github folders
# and copy origin/examples contents and origin/.github contents from main branch in this folders
# and copy origin/examples contents and origin/.github contents from main branch in these folders

with UGithubDownloader("honey-team/ufpy", "C:/Users/<name>/ufpy-tests") as gd:
gd.download_folders(["examples", ".github"]) # Same
Expand All @@ -114,8 +114,8 @@ with UGithubDownloader("honey-team/ufpy", "C:/Users/<name>/ufpy-tests") as gd:
After changing `<name>` to your username and running this code you'll get this:

> [!NOTE]
> The repository code shown is from before merging this pull request
> ([#37](https://github.com/honey-team/ufpy/pull/37)).
> The repository code shown reflects the state before merging pull request
> [#37](https://github.com/honey-team/ufpy/pull/37).
> When this pull request was merged, repository was changed.
![Download all repository](.assets/download5.png)

0 comments on commit 44441dd

Please sign in to comment.