Repository navigation
Commit a83773d
committed
style(snapshot): header and selection comments describe the restacked engine
The file header claimed the snapshot shared runForRepo's denial classification through a helper that no longer exists; the classification is inline, and the two differ (runForRepo also weighs the required set and landed writes). The header now names only what the two still share, the sections allowlist rule.
The required-set fact was stated twice, once as "takes no required set", which is false since SnapshotOptions.sections is a SectionSelection carrying one. The field comment states the rule once: the set goes unread because a snapshot never writes, so a denial classifies on onMissingPermission alone. The inline duplicate is cut.1 parent a2e9635 commit a83773d
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
136 | | - | |
137 | | - | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments