Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: Only show flat repodata cache status when not using shards
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
  • Loading branch information
jjerphan committed Apr 2, 2026
commit ea75e1df6862c5aeba20fffa1c345dcd2541b814
6 changes: 5 additions & 1 deletion libmamba/src/api/channel_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,11 @@ namespace mamba
continue;
}
SubdirIndexLoader subdir_index_loader = std::move(subdir_index_loader_result).value();
if (subdir_index_loader.valid_cache_found() && Console::can_report_status())

// Only show flat repodata cache status if we're not using shards and we have a
// valid cache
if (!ctx.repodata_use_shards && subdir_index_loader.valid_cache_found()
&& Console::can_report_status())
{
Console::stream()
<< fmt::format("{:<50} {:>20}", subdir_index_loader.name(), "Using cache");
Expand Down
Loading