aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-16 16:12:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-16 16:12:31 +0200
commitac6df7a77682bf33b486d451c67ed9650bd9bc2f (patch)
tree144c60ce90390e0eb07f73843606daab61753758 /bpkg/package
parent829c0083b1684e7513e0bd1bb0a92f767ba83f77 (diff)
Implement pkg-status, pkg-purge commands; start ad-hoc test
Diffstat (limited to 'bpkg/package')
-rw-r--r--bpkg/package6
1 files changed, 4 insertions, 2 deletions
diff --git a/bpkg/package b/bpkg/package
index 0c46300..73c0b27 100644
--- a/bpkg/package
+++ b/bpkg/package
@@ -104,7 +104,8 @@ namespace bpkg
// Path to the archive of this package, if any. If not absolute,
// then it is relative to the configuration directory. The purge
// flag indicates whether the archive should be removed when the
- // packaged is purged.
+ // packaged is purged. If the archive is not present, it should
+ // be false.
//
optional<path> archive;
bool archive_purge;
@@ -112,7 +113,8 @@ namespace bpkg
// Path to the source directory of this package, if any. If not
// absolute, then it is relative to the configuration directory.
// The purge flag indicates whether the directory should be
- // removed when the packaged is purged.
+ // removed when the packaged is purged. If the source directory
+ // is not present, it should be false.
//
optional<dir_path> source;
bool source_purge;