debounceFileAction method
Implementation
bool debounceFileAction(String path) {
var file = File(path);
var fileHash = hashFile(file);
var cacheHash = hashCache.get(file.path);
if (fileHash == cacheHash) {
return true;
}
hashCache.put(file.path, fileHash);
return false;
}