Skip to content

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

Open

Description

@axfelix

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.

Activity

  1. nkrabben commented on Jan 29, 2020

    @nkrabben
    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.

  2. axfelix commented on Jan 29, 2020

    @axfelix
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions