Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,10 @@ ContainerCfgBuilder &ContainerCfgBuilder::bindHostStatics() noexcept
{
std::vector<std::filesystem::path> statics{
"/etc/machine-id",
"/etc/fonts",
Comment on lines 479 to +480
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better maintainability and consistency, please consider keeping the list of paths sorted alphabetically within their respective groups (e.g., /etc, /usr/share). The /usr/share paths are already sorted alphabetically, and applying the same convention to the /etc paths would improve readability as this list grows.

        "/etc/fonts",
        "/etc/machine-id",

// FIXME: support for host /etc/ssl, ref https://github.com/p11-glue/p11-kit
"/usr/lib/locale",
"/usr/share/fontconfig",
"/usr/share/fonts",
"/usr/share/icons",
"/usr/share/themes",
Expand Down
Loading