Implement the size of an assembly stream

This will make it possible to act propely on moves of future files if we
need to know the size (like for max size virus scanning).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/12038/head
Roeland Jago Douma 8 years ago
parent 410bd9d784
commit 70e4884e02
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 4
      apps/dav/lib/Upload/AssemblyStream.php

@ -170,7 +170,9 @@ class AssemblyStream implements \Icewind\Streams\File {
* @return array
*/
public function stream_stat() {
return [];
return [
'size' => $this->size,
];
}
/**

Loading…
Cancel
Save