Skip to content

zarr_content_read: include sizes for the "files" (and possibly "directories") #925

Open
dandi/dandi-schema
#120
@yarikoptic

Description

@yarikoptic

motivation: dandi/dandi-cli#923 (comment) -- in dandi-cli, to possibly avoid relatively expensive checksumming of the content to decide either a (changed) file within zarr needs to be reuploaded, we first check the size(s) of the file. If that one changed -- we know that we need to reupload even without computing its checksum.

It would be helpful if that API endpoint also returned sizes of the files (if it can do it without extra runtime penalty)

Metadata

Metadata

Assignees

No one assigned

    Labels

    releasedThis issue/pull request has been released.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions