Skip to main content

Module checkout

Module checkout 

Source
Expand description

Checkout module - restore files from a commit to the working tree

Provides functions for checking out files from encrypted commits:

  • checkout_tree: Restore entire tree from a commit
  • checkout_paths: Restore specific paths from a commit

Uses parallel file restoration via rayon for performance.

Structs§

CheckoutOptions
Options for checkout operations
CheckoutStats
Statistics from checkout operation
FileToRestore
A file to restore during checkout.

Functions§

checkout_paths
Checkout specific paths from a commit.
checkout_tree
Checkout entire tree from a commit.
restore_files
Restores files to the workspace using parallel processing.