Skip to content

API to explore BlobTree directory, download individual files #73

Open
@mortenpi

Description

We could add some APIs to allow access to the files in a BlobTree without the user having to actually download the whole dataset. That metadata is available.

Just a sketch, but:

  1. JuliaHub.dataset_filetree(dataset) -> FileTree: returns a data structure that can be used to iterate over the file tree (maybe based on https://github.com/shashi/FileTrees.jl).
  2. JuliaHub.download_dataset_file(dataset, filepath, dstfile): downloads an individual file from a BlobTree, without having to download the whole BlobTree in one go.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions