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

Use Tar to store trees of content? #33

Open
staticfloat opened this issue Oct 16, 2023 · 1 comment
Open

Use Tar to store trees of content? #33

staticfloat opened this issue Oct 16, 2023 · 1 comment

Comments

@staticfloat
Copy link
Member

For dense trees of content that are going to be bundled into a system image, it might make sense to use Tar.jl to do the bundling and extraction, as there's a good amount of corner cases around things like permissions that can get a little hairy across operating systems. Perhaps a good architecture to make it easier to deal with these things would be:

  1. Use Tar.create() to generate a tarball (that can then be compressed in-memory, for space savings for larger bundles), store that tarball in the precompile cache.
  2. Use Tar.extract() to write it out to disk on-demand just like it works now.
@MichaelHatherly
Copy link
Collaborator

Agreed, that would make sense.

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