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

contenthash: make all paths strings when converting #4904

Merged
merged 1 commit into from
May 7, 2024

Commits on May 7, 2024

  1. contenthash: make all paths strings when converting

    Using []byte for paths is just begging for a mistake to be made, so
    update the signature of convert{PathToKey,KeyToPath} so that only keys
    are []byte and paths are always strings.
    
    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed May 7, 2024
    Configuration menu
    Copy the full SHA
    c9dac11 View commit details
    Browse the repository at this point in the history