Skip to content

Replace repo_key DefaultHasher with a stable digest #1994

@j178

Description

@j178

Store::repo_key currently uses DefaultHasher for persisted cache paths under PREK_HOME/repos.

DefaultHasher is not specified across Rust releases, so it is not a good fit for on-disk keys. The cache path can change even when repo and rev do not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions