From 8fad6bef99ec3519fc0f87038f9dbb331c1230df Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Feb 2018 11:19:29 +0200 Subject: Rename repository state to fragment --- bpkg/package.hxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'bpkg/package.hxx') diff --git a/bpkg/package.hxx b/bpkg/package.hxx index 41e8bd6..23fe9b2 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -293,14 +293,15 @@ namespace bpkg { using repository_type = bpkg::repository; - // State is the repository type-specific information that can be used - // to identify the repository state this package came from. For example, - // for a version control-based repository this could be a commit id. + // Fragment is optional, repository type-specific information that can be + // used to identify the repository fragment/partition/view/etc that this + // package came from. For example, for a version control-based repository + // this could be a commit id. // - // The localtion is the package location within this repository state. + // The location is the package location within this repository fragment. // lazy_shared_ptr repository; - string state; + string fragment; path location; }; -- cgit v1.1