Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions skilljail/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def _lock_path(name: str, locks_dir: Path | None = None) -> Path:


def manifest_hash(manifest_dict: dict[str, Any]) -> str:
"""SHA-256 of the manifest's canonical JSON (sorted keys), so key order doesn't matter."""
return hashlib.sha256(json.dumps(manifest_dict, sort_keys=True).encode()).hexdigest()


Expand Down
Loading