#pragma once #include "core/common.h" #include "object/object.h" #include #include #include namespace vn { int git_import(const fs::path& root); int git_export(const fs::path& root); int git_materialize(const fs::path& root); int git_fetch(const fs::path& root, std::string_view remote); int git_push(const fs::path& root, std::string_view remote, std::string_view bookmark); int git_prepare_mirror(const fs::path& root, std::string_view source); std::optional> git_read_lazy_blob(const fs::path& root, const Id& id); int git_cli_run(const std::vector& args); } // namespace vn