/var/www/cobraambalaj/vendor/spatie/laravel-medialibrary/src/MediaCollections
NameSizeModeActions
Commands/-0755rm
Contracts/-0755rm
Events/-0755rm
Exceptions/-0755rm
Models/-0755rm
File.php6070644editdlrm
FileAdder.php155020644editdlrm
FileAdderFactory.php28110644editdlrm
Filesystem.php103260644editdlrm
FileTest.php9560644editdlrm
HtmlableMedia.php27700644editdlrm
MediaCollection.php28690644editdlrm
MediaRepository.php26960644editdlrm
Edit: /var/www/cobraambalaj/vendor/spatie/laravel-medialibrary/src/MediaCollections/FileTest.php (956B)
assertEquals('10 B', File::getHumanReadableSize(10)); $this->assertEquals('100 B', File::getHumanReadableSize(100)); $this->assertEquals('1000 B', File::getHumanReadableSize(1000)); $this->assertEquals('9.77 KB', File::getHumanReadableSize(10000)); $this->assertEquals('976.56 KB', File::getHumanReadableSize(1000000)); $this->assertEquals('9.54 MB', File::getHumanReadableSize(10000000)); $this->assertEquals('9.31 GB', File::getHumanReadableSize(10000000000)); } /** @test */ public function it_can_determine_the_mime_type_of_a_file() { $this->assertEquals('text/x-php', File::getMimeType(__FILE__)); } }