File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
app/lib/package/api_export Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,18 @@ final class ExportedPackage {
270270 Duration (hours: 2 ),
271271 );
272272
273+ /// Synchronize tarballs from [versions] .
274+ ///
275+ /// [versions] is a map from version number to [SourceObjectInfo] , where
276+ /// the [SourceObjectInfo] is the GCS object from which the tarball can be
277+ /// copied.
278+ ///
279+ /// This method will copy GCS objects, when necessary, relying on
280+ /// [SourceObjectInfo.md5Hash] to avoid copying objects that haven't changed.
281+ ///
282+ /// [versions] **must** have an entry for each version that exists.
283+ /// This will **delete** tarballs for versions that do not exist in
284+ /// [versions] .
273285 Future <void > synchronizeTarballs (
274286 Map <String , SourceObjectInfo > versions,
275287 ) async {
You can’t perform that action at this time.
0 commit comments