Commit f03fe9d
committed
fix(dir-filter): properly detect upward and downwards for project files
This change updates the dir_filter to use vim.fs.relpath to detect if
the file is a decendant or parent of a relevant project from the
solution.
This change should fix the error as well as be more performant because
we do not need to scan the directory for every file checked.1 parent 8701cbe commit f03fe9d
1 file changed
Lines changed: 17 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 146 | | |
155 | | - | |
| 147 | + | |
156 | 148 | | |
157 | 149 | | |
158 | | - | |
| 150 | + | |
159 | 151 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
167 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments