Module recheck

Source
Expand description

Data structures and functions for xvc file recheck.

Structs§

RecheckCLI
Check out file from cache by a copy or link

Enums§

RecheckOperation
Recheck messages to be sent to the channel created by make_recheck_handler.

Functions§

cmd_recheck
Run xvc file recheck command on the repository xvc_root with cli_opts options.
make_recheck_handler
Build a recheck handler in a separate thread and connect it with a channel. You must build an ignore writer with make_ignore_handler before building this. All rechecked files are gitignored using given ignore_handler. Use the returned channel to send RecheckOp messages to recheck files, then send None to the channel to exit from the loop and join the returned thread.

Type Aliases§

RecheckOp
The actual messages in channels are Option<T> to close the channel by sending None when the operation ends.