Commit 7c972f3
committed
docs(craft): state the partial-metadata contract on the file signal
An adapter that omits size or mtime for an unhashed file degrades change
detection to the field it did supply. The docstring says so and a test pins
the degradation, since no metadata-only signal can see a change in data it
was never given.1 parent 5880dc5 commit 7c972f3
2 files changed
Lines changed: 12 additions & 1 deletion
File tree
- backend
- onyx/server/features/build
- tests/unit/onyx/server/features/craft
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
161 | 169 | | |
162 | 170 | | |
163 | 171 | | |
| |||
0 commit comments