(prefix, *landmarks, test=isfile)
| 208 | # ****************************************************************************** |
| 209 | |
| 210 | def search_up(prefix, *landmarks, test=isfile): |
| 211 | while prefix: |
| 212 | if any(test(joinpath(prefix, f)) for f in landmarks): |
| 213 | return prefix |
| 214 | prefix = dirname(prefix) |
| 215 | |
| 216 | |
| 217 | # ****************************************************************************** |
no test coverage detected
searching dependent graphs…