search for: db_updat

Displaying 2 results from an estimated 2 matches for "db_updat".

Did you mean: db_update
2007 Feb 20
6
How to spec code with multiple (interacting) paths
Hi Code with a large number of different paths is probably the biggest problem I have right now. I''ve made a sample class that illustrates the simplest case of one parameter that takes two values: class DataStorer def initialize(logger, emailer, db_updater, do_update_db_step) @logger = logger; @emailer = emailer; @db_updater = db_updater @do_update_db_step = do_update_db_step end def store(data) @logger.log("I was told to store ''#{data}''") @emailer.send_email("Someb...
2007 Sep 23
0
A preliminary design for an external DB for rsync
.... The stat info is used to find a good match, and then updated. E.g. could be used by an inc_recurse transfer to find an existing hard-link somewhere in the destination hierarchy. Could be used to try to find a decent basis file or a renamed file. May want some kind of a fuzzy matching option. db_update(FILENAME_PTR, CHKSUM_PTR, FLAGS, STATX_STRUCT_PTR); # CHKSUM_PTR: can be NULL if doing MD4 checksum w/o --checksum. db_delete(FILENAME_PTR); Removes a name from the DB. I assume that inode information would be pruned when no names remain that reference the inode. Deletions would also happen in...