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>
This commit is contained in:
Roeland Jago Douma 2018-10-25 12:20:49 +02:00
parent 7686c03111
commit 8dcc7fc0f5
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 3 additions and 1 deletions

View File

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