-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
can I modify the path for trufflehog to store the temporary git info? #3724
Comments
You can change it using the EDIT: For clarity, |
I think this is an enhancement request. The answer to the question is technically you can't modify the directory in a meaningful way; being able to do so could be useful (e.g., persist cloned repositories after scanning). |
Thanks, I guess this is the code that created temp path here using os.MkdirTemp. I personally feel it might be useful to let user choose where to save instead of just the default system temp path (as what @rgmz suggested). e.g. To integrate trufflehog to my backend, one may need to know exactly where the temp files are stored in docker or cloud server. |
I believe "truffle git git-url" command will need to store the git repo/info into a local temporary path, so where is the path and what is the recommended way to modify it? thanks
The text was updated successfully, but these errors were encountered: