summaryrefslogtreecommitdiffstats
path: root/src/pkginfo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkginfo.rs')
-rw-r--r--src/pkginfo.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkginfo.rs b/src/pkginfo.rs
index 2cf449e..470ccf7 100644
--- a/src/pkginfo.rs
+++ b/src/pkginfo.rs
@@ -1,6 +1,7 @@
use std::io::Read;
#[derive(Debug, Clone, Default, PartialEq, Eq)]
+// PkgInfo stays `pub`: what `parse_pkginfo` answers with; `pipeline`, `shims` and tests/world.rs read its fields, never its name.
pub struct PkgInfo {
pub name: String,
pub version: String,
@@ -19,6 +20,7 @@ pub struct PkgInfo {
}
#[derive(Debug, Clone, PartialEq, Eq)]
+// Installed stays `pub`: what `parse_installed` answers with, read line by line by `pipeline` and tests/world.rs.
pub struct Installed {
pub name: String,
pub version: String,