#pragma once #include "store.h" #include #include #include namespace vn { // Detect renames between two trees. `tx` may be provided so trees and blobs that // have only been added to the pending transaction are visible. Results are // sorted by (parent_index, to_path). std::vector detect_renames(Store &store, Txn *tx, std::optional old_tree, std::optional new_tree, int similar_pct, std::uint64_t parent_index); // Configured rename similarity threshold (0 disables detection). int rename_similar_pct(const fs::path &root); int merge_run(const std::vector &args); int rebase_run(const std::vector &args); int xs_run(const std::vector &args); int resolve_run(const std::vector &args); } // namespace vn