Expand description
File comparison utilities.
Structs§
- Used to signal diff channels to calculate diffs of the requested entity.
Functions§
- Check whether content digests of files and directories in xvc_path_store has changed.
- This is used to detect content changes in elements of path collections, e.g., directories or globs. When the content of these elements change, their content digests also change. We collect them together and calculate their digest to detect changes in the collection.
- Compare the content of a file with the stored content digest.
- For each command, we have a single requested_recheck_method. We build an actual store by repeating it for all entities we have.
- For each command, we have a single requested_text_or_binary. We build an actual store by repeating it for all entities we have. This is used to find when the user wants to change recheck method.
- Compare the records and the actual info from
pmm
to find the differences in paths. This is used to detect changes between actual paths and our records. New entities are created for those paths missing from the records. - This is a channel version of diff_file_content_digest. It creates a thread that listens to requests diff_request channel and sends the calculated diffs to the diff_result channel.