deleting files actually moves them to trash, is there a way to actually delete them completely?
Closed this issue · 3 comments
torian257x commented
deleting files actually moves them to trash, is there a way to actually delete them completely?
torian257x commented
nao-pon commented
@jossnaz "deleteAction" was added to the option specified by the third argument when creating the adapter.
$googleDrive = new Hypweb\Flysystem\GoogleDrive\GoogleDriveAdapter(
new \Google_Service_Drive($client), // Client service
'root', // Folder ID as root ('root' or Folder ID)
[ 'deleteAction' => 'delete' ] // Delete action 'trash' (Into trash) or 'delete' (Permanently delete)
);