Make `Force` a configurable option
bitcapybara opened this issue · 1 comments
bitcapybara commented
Hi, Is it possible to make Force
at line 184
in the file ssdeep.go
a configurable option? Sometimes I need to handle some slightly shorter input but now this behavior throws the error ErrFileTooSmall
.
I prefer this:
input := "hello, world"
hash := ssdeep.FuzzyBytes([]byte(input), true /** force continue **/)
Or is there any better way to handle this situation?
bitcapybara commented
My mistake, Force
is a global variable that can be changed