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
Added code to trigger rescan of entire tree upon file removal to clea… #496
Conversation
@sentriz FYI the linter failed with a bunch of tar errors that I don't think have anything to do with my change. Do you have any idea what happened? |
ooh nice one , looks good 👍 also think we can just ScanAndClean(ScanOptions{}) since IsFull will be initialised to false anyway
yeah musttag, would you mind excluding that rule/linter from the .golangci lint config? I'm only on my phone atm |
this guy can go Line 48 in 38ab0b0
|
I made the change but lint is still failing with a ton of "Cannot open: File exists" errors. Here's how it starts: Checking for go.mod: go.mod |
And here is the final error: Running [/home/runner/go/bin/golangci-lint run --out-format=github-actions --timeout=5m] in [] ... Error: issues found |
yeah it always prints those errors not sure why. I think you just need to rum gofmt |
Excuse my ignorance, but run gofmt where? |
try $ gofmt -w scanner/scanner.go |
That did it! Thanks! |
thanks! |
…n as needed.