# Restructure communication from BackgroundScanner to LocalWorktree · gitcafe/zed

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

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

Visibility: public

Requested revision: d742c758bc3dd8d893a1f79916e915f1606d0bf4

Requested commit: d742c758bc3dd8d893a1f79916e915f1606d0bf4

Commit: d742c758bc3dd8d893a1f79916e915f1606d0bf4

Tree: d29a4f06fe290ee59910070c78a6baeed07d7c36

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Restructure communication from BackgroundScanner to LocalWorktree

The worktree no longer pulls the background snapshot from the background scanner.
Instead, the background scanner sends both snapshots to the worktree. Along with
these, it sends the path change sets.

Also, add randomized test coverage for the worktree UpdatedEntries events.

```

## Parents

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

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