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 the .ls files to improve performance #1

Open
zimbatm opened this issue Aug 3, 2019 · 0 comments
Open

Use the .ls files to improve performance #1

zimbatm opened this issue Aug 3, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@zimbatm
Copy link
Member

zimbatm commented Aug 3, 2019

Nix clients who upload with write-nar-listing = true also upload a .ls file that contains all the archive metadata.

nix run nixpkgs.{brotli,curl, bash} -c \
curl -v https://cache.nixos.org/$(readlink $(which bash) | cut -d/ -f4 | cut -d- -f1).ls | brotli -d

This could be used to quickly determine whenever a file exists and also create directory listings.

@zimbatm zimbatm added the enhancement New feature or request label Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant