(out)
| 555 | fs_path = abs_path |
| 556 | |
| 557 | def func(out): |
| 558 | def eq(one, two): |
| 559 | return one == two |
| 560 | |
| 561 | match = eq if strict else out.fs.isin_or_eq |
| 562 | |
| 563 | if out.protocol == "local" and match(fs_path, out.fs_path): |
| 564 | return True |
| 565 | return recursive and out.fs.isin(out.fs_path, fs_path) |
| 566 | |
| 567 | matched = list(filter(func, outs)) |
| 568 | if not matched: |