ivanvermeyen / laravel-google-drive-demo

Laravel & Google Drive Storage - Demo project with Laravel 5.4
405 stars 155 forks source link

listContents() not returning all contents #104

Open nikkivalen opened 3 years ago

nikkivalen commented 3 years ago

With the code : $contents = collect(Storage::cloud()->listContents($dir, $recursive));

I can only return files/folders that are created from the Demo App. If I created/upload files/folders manually it wouldn't be return with the code mentioned.

Returned Value : image

Contents Inside of Drive : (anything that has a test in the name is created from the Demo App) image

PaolaRuby commented 2 years ago

Try this https://github.com/masbug/flysystem-google-drive-ext, it has the same config, it is a fork