From 7e4b2dcd0e5ddd37276879e699fd84059183f5e2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 6 Mar 2018 23:52:11 +0300 Subject: Add support for dir repository --- bpkg/manifest-utility.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/manifest-utility.cxx') diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index 9f4a012..a2b817d 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -137,7 +137,9 @@ namespace bpkg { switch (l.type ()) { - case repository_type::pkg: return dir_path (); // No state. + case repository_type::pkg: + case repository_type::dir: return dir_path (); // No state. + case repository_type::git: { return dir_path (sha256 (l.canonical_name ()).abbreviated_string (16)); -- cgit v1.1