summaryrefslogtreecommitdiffstats
path: root/src/pkginfo.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-22 10:51:45 +0000
committeraur-build <aur-build@localhost>2026-11-22 10:51:45 +0000
commit053dfbca8a4955a616e9b2c0f5a5d664c0db7aef (patch)
tree969777fa32845f49723c52b1889c4870c98134cf /src/pkginfo.rs
parent1e1e12e7220a3fd288782ae40f0823db32acf6cb (diff)
downloadaur-build-053dfbca8a4955a616e9b2c0f5a5d664c0db7aef.tar.gz
aur-build-053dfbca8a4955a616e9b2c0f5a5d664c0db7aef.zip
src,tests: retire the census commentary from the source
A gated item used to carry its own defence: why it is `pub` only under `test-support`, which census once mistook a filename for a caller, why a wrapper is compiled out rather than deleted. The budget file already holds those claims and the ratchet already checks them, so the source keeps the one line that says what the item is. The module headers stop narrating the refactor that produced them. What survives is the wire protocol, the git pipe, the poisoned lock that must be recovered rather than unwedged.
Diffstat (limited to 'src/pkginfo.rs')
-rw-r--r--src/pkginfo.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pkginfo.rs b/src/pkginfo.rs
index 470ccf7..2cf449e 100644
--- a/src/pkginfo.rs
+++ b/src/pkginfo.rs
@@ -1,7 +1,6 @@
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,
@@ -20,7 +19,6 @@ 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,