#pragma once #include "store.h" #include #include namespace vn { int snapshot_run(const fs::path &root); int snapshot_run(const fs::path &root, Store &store); int checkout_run(const fs::path &root, std::string_view rev); int checkout_materialize_commit(const fs::path &root, Store &store, std::optional old_root, const Id &new_root); int checkout_materialize_optional(const fs::path &root, Store &store, std::optional old_root, std::optional new_root); void clear_stat_cache(const fs::path &root); } // namespace vn