Skip to content

Commit

Permalink
Fix hash function
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed Feb 1, 2024
1 parent c9d41e5 commit 3875917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakeboost/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_replacement_field(
def lockfile(path: Union[Path, str], root: Path):
loc = root / ".lock"
loc.mkdir(exist_ok=True, parents=True)
return loc / get_hash(str(path))
return loc / hash_path(str(path))


def silent_mv(src: str, dest: str):
Expand Down

0 comments on commit 3875917

Please sign in to comment.