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

Argument to write 'Bag-Size' to created bags? #142

Open
axfelix opened this issue Oct 29, 2019 · 2 comments
Open

Argument to write 'Bag-Size' to created bags? #142

axfelix opened this issue Oct 29, 2019 · 2 comments

Comments

@axfelix
Copy link

axfelix commented Oct 29, 2019

Hi,

Should there be an argument to pass to make_bag() that adds a Bag-Size property automatically? That seems like an appropriate time to hook this in rather than trying to calculate and append a standard property after the fact.

@nkrabben
Copy link
Contributor

Does the oxum meet your needs for a Bag-Size property? It's in bag-info.txt in the form ####.### where the first part is the total bytes in the data folder and the second is the total number files in the data folder.

@axfelix
Copy link
Author

axfelix commented Jan 29, 2020

Yup, I think so! Just looking to have that named element as I believe it's mentioned in the spec.

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

No branches or pull requests

2 participants