Commit ccfd427
Kelvin Luck
feat: Introduce a
This loads the head object and then calls `listAllObjects` with the new
`until` parameter and stops as soon as it has found an object which
matches the `ETag` of the active revision.
It returns the active revision in the same format that `fetchRevisions`
would - for backward compatibility with use-cases which were depending
on that.getActiveRevision method1 parent 951e863 commit ccfd427
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
155 | 180 | | |
156 | 181 | | |
157 | 182 | | |
| |||
0 commit comments