2 ms·
A length check would catch the log file case. But really, just hash the whole file. As an optimization, you might want to check for files with holes in them ("
by gpvos 11y ago
A length check would catch the log file case. But really, just hash the whole file.
As an optimization, you might want to check for files with holes in them ("sparse" files). Not sure how to do that, though.