Skip to content

Commit 061846c

Browse files
authored
Merge pull request #12112 from nextcloud/backport/12038/stable13
[13] Implement the size of an assembly stream
2 parents 4e91122 + 8dcc7fc commit 061846c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/dav/lib/Upload/AssemblyStream.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ public function stream_truncate($size) {
161161
* @return array
162162
*/
163163
public function stream_stat() {
164-
return [];
164+
return [
165+
'size' => $this->size,
166+
];
165167
}
166168

167169
/**

0 commit comments

Comments
 (0)