redis-rdb-tools
redis-rdb-tools copied to clipboard
question - is it possible to get the progress of the parser
I'm looking for a callback hook to know how much progress (i.e. bytes out of total) the parser has completed. Is this possible ?
it's a nice idea for improvement (feel free to PR).
meanwhile, if you use the parse_fd() function, it should be easy to 'tell' the current offset from any callback using lseek(fd, 0, SEEK_CUR);