Skip to content

Platform independent way of referring to root? #592

@sageacy

Description

@sageacy

I would like to refer to a root folder in my ignore globs in a platform independent way. I assumed that I could use the glob '/exclude/**' but unfortunately, that doesn't work on Windows.

On Windows, I need to use '//?/C:/exclude/**', I would prefer to use '/exclude/**' on both Windows and Linux.

What is odd is that include globs starting with '/' to refer to the root work fine on Windows, it only doesn't work for ignore globs.

Are there any GlobOptions I'm overlooking that will allow '/exclude/**' to work on Windows?

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