diff options
| author | tv <tv@krebsco.de> | 2026-11-29 03:04:13 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 03:04:13 +0000 |
| commit | 10f4e55b1c7d88eef1454ea02488de239489789b (patch) | |
| tree | 68d698c7fd0874cbf55318040c48b2024bf98e22 /src/access/rules.rs | |
| parent | 2b4e99e1ed273da0f921eaec3e52300480acdf0a (diff) | |
document: screening what is received is the document's, the rules access control's
access::screen becomes document::screen: reading received bytes as
changes, putting them in order, keeping those that wait or are refused,
vouching by signatures and applying is all Automerge's shape, and has
each change judged by the rules (access::rules) before it applies it.
Diffstat (limited to 'src/access/rules.rs')
| -rw-r--r-- | src/access/rules.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/access/rules.rs b/src/access/rules.rs index cda7111..520ff0f 100644 --- a/src/access/rules.rs +++ b/src/access/rules.rs @@ -53,7 +53,7 @@ pub(crate) struct Change<'a> { pub(crate) deps: &'a [ChangeHash], /// The heads to judge it at: its dependencies, or, for those not applied yet, the /// changes of the document they build on, where nothing between changed what rules - /// read (`access::screen`). + /// read (`document::screen`). pub(crate) seen: &'a [ChangeHash], /// The node that made it (its node ID), as its signature proves. pub(crate) committer: Option<&'a str>, @@ -131,7 +131,7 @@ pub(crate) struct Seen { /// What `judge` reads at the heads a change is judged at (`Seen`), kept while the heads /// stay the same (`judge_reading`). Each read at given heads costs as much as working out /// what they cover, and screening judges most of a batch at the same heads -/// (`access::screen`). What the heads hold doesn't change as the document takes more +/// (`document::screen`). What the heads hold doesn't change as the document takes more /// changes. #[derive(Debug, Default)] pub(crate) struct Reads { |
