Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed handling of file-typed repositories #111

Closed
wants to merge 1 commit into from

Conversation

maennel
Copy link

@maennel maennel commented Jun 13, 2018

Added a 'force_clone' flag, that allows for a decision on how to handle local ('file://') repositories.

Allows for scanning already existing repositories, i.e. on your local disk.

By default, file://-typed repositories will no longer get cloned (and consequently also not deleted, once the job is done) - unless the force_clone flag is specified.

@codecov-io
Copy link

Codecov Report

Merging #111 into dev will increase coverage by 5.97%.
The diff coverage is 95.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #111      +/-   ##
==========================================
+ Coverage   58.14%   64.11%   +5.97%     
==========================================
  Files           3        3              
  Lines         270      301      +31     
==========================================
+ Hits          157      193      +36     
+ Misses        113      108       -5
Impacted Files Coverage Δ
test_all.py 92.85% <100%> (+7.85%) ⬆️
truffleHog/truffleHog.py 59.92% <88.88%> (+3.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1760c0a...d4e8bc8. Read the comment docs.

tmsteen pushed a commit to tmsteen/truffleHog that referenced this pull request Aug 9, 2018
@maennel maennel closed this May 29, 2020
dustin-decker pushed a commit that referenced this pull request Apr 3, 2022
Bumps [github.com/zricethezav/gitleaks/v8](https://github.com/zricethezav/gitleaks) from 8.5.1 to 8.5.2.
- [Release notes](https://github.com/zricethezav/gitleaks/releases)
- [Changelog](https://github.com/zricethezav/gitleaks/blob/master/.goreleaser.yml)
- [Commits](gitleaks/gitleaks@v8.5.1...v8.5.2)

---
updated-dependencies:
- dependency-name: github.com/zricethezav/gitleaks/v8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants