We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fb131c commit 57a9c26Copy full SHA for 57a9c26
src/LogFile.php
@@ -54,7 +54,7 @@ public function logs(): LogReader
54
55
public function size(): int
56
{
57
- return 0; //LogViewer::getFilesystem()->size($this->path);
+ return LogViewer::getFilesystem()->exists($this->path) ? LogViewer::getFilesystem()->size($this->path) : 0;
58
}
59
60
public function sizeInMB(): float
0 commit comments