support exclude filter #2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aae1ca7456
commit
b7df76b76e
1 changed files with 4 additions and 0 deletions
4
tree.go
4
tree.go
|
@ -112,6 +112,10 @@ func (t Tree) Filter(filter map[string][]string) (Tree, bool) {
|
||||||
exclude = true
|
exclude = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if negative && !exclude {
|
||||||
|
addFile = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if addFile && !exclude {
|
if addFile && !exclude {
|
||||||
found = true
|
found = true
|
||||||
|
|
Loading…
Reference in a new issue