diff options
| author | aur-build <aur-build@localhost> | 2026-11-22 10:51:45 +0000 |
|---|---|---|
| committer | aur-build <aur-build@localhost> | 2026-11-22 10:51:45 +0000 |
| commit | 053dfbca8a4955a616e9b2c0f5a5d664c0db7aef (patch) | |
| tree | 969777fa32845f49723c52b1889c4870c98134cf /src/watch/mirror.rs | |
| parent | 1e1e12e7220a3fd288782ae40f0823db32acf6cb (diff) | |
| download | aur-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/watch/mirror.rs')
| -rw-r--r-- | src/watch/mirror.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/watch/mirror.rs b/src/watch/mirror.rs index 5a42a11..f38d7f8 100644 --- a/src/watch/mirror.rs +++ b/src/watch/mirror.rs @@ -111,10 +111,6 @@ mod tests { use super::*; /// A throwaway repo with these files committed, and its tip. - /// - /// Deliberately minimal: `read_tree` only ever needs a directory git will - /// answer for, so the test does not stand up a mirror, a database or a - /// config to ask it a question about one tree. fn repo(files: &[(&str, &[u8])]) -> (std::path::PathBuf, String) { let nonce = std::time::SystemTime::now().duration_since(std::time::UNIX_EPOCH).unwrap().as_nanos(); let dir = std::env::temp_dir().join(format!("aur-read-tree-{}-{}", std::process::id(), nonce)); |
