Simplify pathtools.Match
filepath.Match has always supported hierarchical patterns (a/*), so pathtools.Match can be significantly simplified by reusing filepath.Match directly instead of recursively stepping through the path elements using filepath.Match on each one. Test: glob_test.go Change-Id: I8af59ee880f0402609b994922bafb1961fcabcf3
Loading
Please register or sign in to comment