Skip to content

Commit 4b9d2a6

Browse files
author
Tom Fay
committed
move image layering to separate module for easier standalone use
1 parent 36672b4 commit 4b9d2a6

8 files changed

Lines changed: 432 additions & 299 deletions

File tree

Cargo.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ url = { version = "2.2.2", features = ["serde"] }
3939
walkdir = "2.3.2"
4040
xattr = "1.0.1"
4141
ocidir = "0.2.1"
42+
derive_builder = "0.20.1"
4243

4344
[dev-dependencies]
4445
test-temp-dir = "0.2.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def most_popular_packages(root, n):
7777
p
7878
for (p, _count) in sorted(
7979
graph_popularity_contest(new_graph).items(),
80-
key=lambda x: x[1],
80+
key=lambda x: (x[1], x[0]),
8181
reverse=True,
8282
)
8383
]

0 commit comments

Comments
 (0)