From 3d4838d3706de2ba0045dc9f99a3dc96398def64 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 19 Feb 2018 14:26:02 +0300 Subject: Parse repositories and packages files for git repositories --- bpkg/fetch.hxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bpkg/fetch.hxx') diff --git a/bpkg/fetch.hxx b/bpkg/fetch.hxx index f243e09..659e019 100644 --- a/bpkg/fetch.hxx +++ b/bpkg/fetch.hxx @@ -49,16 +49,18 @@ namespace bpkg // Repository type git (fetch-git.cxx). // - // Clone git repository into destdir//. + // Clone git repository into destdir//. Return the cloned repository + // directory name that was deduced from the repository URL fragment. // - void + dir_path git_clone (const common_options&, const repository_location&, const dir_path& destdir); - // Fetch git repository in destdir//. + // Fetch git repository in destdir//. Return the fetched repository + // directory name that was deduced from the repository URL fragment. // - void + dir_path git_fetch (const common_options&, const repository_location&, const dir_path& destdir); -- cgit v1.1