# file_finder: Simplify removal of file name from file path \(\#7398\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/21797bad4d939af85b10fba9f615b07cd4cb5f5f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 21797bad4d939af85b10fba9f615b07cd4cb5f5f

Requested commit: 21797bad4d939af85b10fba9f615b07cd4cb5f5f

Commit: 21797bad4d939af85b10fba9f615b07cd4cb5f5f

Tree: d7d15a360c8faacefef38ec1b7511380f688a6da

Author: Marshall Bowers

Committer: GitHub

## Message

```
file_finder: Simplify removal of file name from file path (#7398)

This PR simplifies the removal of the file name from the file path when
computing the file finder matches.

Release Notes:

- N/A
```

## Parents

- [ce62404e24e019247538220af42748de28b93038](https://git.cafe/gitcafe/zed/commit/ce62404e24e019247538220af42748de28b93038?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/21797bad4d939af85b10fba9f615b07cd4cb5f5f?format=markdown)
