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

Add SHA256 Hashes #1

Closed
kevinburke opened this issue Jan 14, 2018 · 0 comments
Closed

Add SHA256 Hashes #1

kevinburke opened this issue Jan 14, 2018 · 0 comments

Comments

@kevinburke
Copy link
Owner

It should be easy to compute/retrieve a hash of an asset.

kevinburke added a commit that referenced this issue Jan 15, 2018
Checksums are important for easily detecting whether a given file has
changed or not, and whether the file has been corrupted. Store this
information as part of the bindata payload.

In the future, I'd like to checksum each file once before returning
it, though this might be tricky to implement.

Fixes #1.
kssion pushed a commit to kssion/go-bindata that referenced this issue Oct 17, 2022
Checksums are important for easily detecting whether a given file has
changed or not, and whether the file has been corrupted. Store this
information as part of the bindata payload, so we can return it
without asking users to 1) make a copy of the file in memory 2)
checksum it.

In the future, I'd like to checksum each file once before returning
it, though this might be tricky to implement.

Add two new API's for retrieving files as strings.

Fixes kevinburke#1.
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

1 participant