Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to return the keys with thier sizes #55

Open
GoogleCodeExporter opened this issue Apr 11, 2015 · 2 comments
Open

Function to return the keys with thier sizes #55

GoogleCodeExporter opened this issue Apr 11, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

In my application I need to report the size of the file with the listing. This 
means making one call to get the keys and another call for each key to get it's 
size, for my use case this is slow.
The attached patch add a new function that allows for fetching the keys and 
their sizes all in one call.


Original issue reported on code.google.com by [email protected] on 16 Jan 2012 at 6:11

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

I feel like this would be better served as an option to cmd_list_keys. Less 
copy/pasted code?

Have a similar issue with cmd_get_paths, where you might want more or less 
metadata returned but presently have to fetch all metadata with a separate 
"file_info" request.

Perhaps a "metadata" argument with a comma separated list of other columns to 
add. Requires a careful check to ensure it doesn't ask for any invalid columns!

thoughts?

Original comment by [email protected] on 23 Feb 2012 at 8:40

@GoogleCodeExporter
Copy link
Contributor Author

I agree, here is a patch built off 2.64 that would do that.



Original comment by [email protected] on 27 Nov 2013 at 9:54

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant