Stream splicing with progress
@cosimoc
Submitted by Cosimo Cecchi Link to original bug (#696735)
Description
In bug 694002 we'd like to implement a progress indicator in Documents while a document is being cached from online accounts. Since downloading a file for cache is implemented by using g_output_stream_splice(), I think it'd be nice if it had support for a GFileProgressCallback, as the operation is conceptually similar to moving and copying a file.
Maybe call it g_output_stream_splice_full or g_output_stream_splice_with_progress? Comments welcome.
Version: 2.36.x