Skip to content

Support folders in file patterns #16

@jdbancal

Description

@jdbancal

Currently it seems that the option -cover_exclude only supports file patterns. This means that it is not possible to exclude a single file in a subfolder, say a/function1.m. if a file with the same name is also present in another subfolder, say a/b/c/function1.m. Indeed, the pattern function1.m would match both.

Would it be possible to support exclude filters which match the full path, such as a/function1.m? Meaning that this would only match. Maybe, a simple way to do this could be to treat patterns slightly differently if they contain the / chararcter : currently a pattern like a/function1.m of ./function1.m will never match anything, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions