mschilli / net-google-drive-simple

Net::Google::Drive::Simple CPAN Module
Other
11 stars 22 forks source link

trashing files [rt.cpan.org #99007] #22

Open atoomic opened 5 years ago

atoomic commented 5 years ago

Migrated from rt.cpan.org#99007 (status was 'new')

Requestors:

Attachments:

From twshield@gmail.com on 2014-09-21 00:46:15 :

Hello again,

A couple of things related to trash.

First I finally got to trying your new version with the iterator and it
properly does not show files that have been trashed.  Thanks.

In addition, attached is a patch that add the function file_trash() which
allows files to be moved to the trash.  Feel free to remove the TWS and
date in the comment string.

Here's the API reference for trashing a file

https://developers.google.com/drive/v2/reference/files/trash

Regards,

Tom

-- 
Tom Shield
twshield@gmail.com
Vadnais Heights, MN

"... and may you never make the mistake of believing you know all there is
about sailing."
John Rousmaniere, *Annapolis Book of Seamanship*
atoomic commented 5 years ago

This looks good, would need a PR (maybe some additional tests too) @twshield are you interested by following this case?