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?
Currently it seems that the option
-cover_excludeonly supports file patterns. This means that it is not possible to exclude a single file in a subfolder, saya/function1.m. if a file with the same name is also present in another subfolder, saya/b/c/function1.m. Indeed, the patternfunction1.mwould 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 likea/function1.mof./function1.mwill never match anything, right?