mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-25 17:45:39 +00:00
Merge pull request #35 from stephen679/set_keyword_selector
[bug fix] walk: filter \set keyword correctly
This commit is contained in:
commit
20279bacf2
1 changed files with 1 additions and 1 deletions
2
walk.go
2
walk.go
|
@ -106,7 +106,7 @@ func Walk(root string, exlcudes []ExcludeFunc, keywords []string) (*DirectoryHie
|
|||
Name: "/set",
|
||||
Type: SpecialType,
|
||||
Pos: len(creator.DH.Entries),
|
||||
Keywords: append(defaultSetKeywords, klist...),
|
||||
Keywords: keywordSelector(append(defaultSetKeywords, klist...), keywords),
|
||||
}
|
||||
creator.curSet = &e
|
||||
creator.DH.Entries = append(creator.DH.Entries, e)
|
||||
|
|
Loading…
Reference in a new issue