mirror of
https://github.com/cve-search/git-vuln-finder.git
synced 2024-11-22 23:07:20 +00:00
updated README.
This commit is contained in:
parent
43c8c432b8
commit
d2b88a3e6c
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ added automatically in the output.
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
## Use in your Python software
|
## Use it as a library
|
||||||
|
|
||||||
~~~bash
|
~~~bash
|
||||||
$ poetry install git-vuln-finder
|
$ poetry install git-vuln-finder
|
||||||
|
@ -33,7 +33,7 @@ Type "help", "copyright", "credits" or "license" for more information.
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
## Use as a command line tool
|
## Use it as a command line tool
|
||||||
|
|
||||||
~~~bash
|
~~~bash
|
||||||
$ pipx install git-vuln-finder
|
$ pipx install git-vuln-finder
|
||||||
|
|
|
@ -11,7 +11,7 @@ def clone_curl():
|
||||||
git_url = 'https://github.com/curl/curl.git'
|
git_url = 'https://github.com/curl/curl.git'
|
||||||
repo_dir = './test_repos/curl'
|
repo_dir = './test_repos/curl'
|
||||||
repo = Repo.clone_from(url=git_url, to_path=repo_dir)
|
repo = Repo.clone_from(url=git_url, to_path=repo_dir)
|
||||||
repo.heads['curl-7_67_0'].checkout()
|
#repo.heads['curl-7_67_0'].checkout()
|
||||||
|
|
||||||
def teardown():
|
def teardown():
|
||||||
os.unlink(repo_dir)
|
os.unlink(repo_dir)
|
||||||
|
|
Loading…
Reference in a new issue