(frompath, topath)
| 139 | return path |
| 140 | |
| 141 | def get_hash(frompath, topath): |
| 142 | from_hash = sha256_of_file(frompath) |
| 143 | to_hash = sha256_of_file(topath) if os.path.exists(topath) else None |
| 144 | return (from_hash, to_hash) |
| 145 | |
| 146 | def process(path, fromfile, tofile, processor_function, hash_db): |
| 147 | fullfrompath = os.path.join(path, fromfile) |
no test coverage detected