Skip to content

globset: add a compact display or debug implementation for the GlobSet type #3274

@RmStorm

Description

@RmStorm

Add a better/more concise debug implementation for GlobSet. Globsetbuilder already has one: 6f39f83

But it would be really nice if GlobSet had either a display or debug implementation that showed the same or something very similar!

What I gathered is that the globset type is composed of GlobSetMatchStrategy that don't necessarily contain the information required to do something like this. Is a naive implementation that simply persists the required info from the builder to the globset possible? Are globsets typically only made using the builder or is direct instantiation common? I can have a stab at something simple if someone points me in a direction that stands a chance of being merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions