Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeffhostetler
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jeffhostetler
4y ago
I'm using ReadDirectoryChangesW() to read a filtered stream of events from the USN journal. I've not noticed any reliability problems. Technically, the kernel API can always drop events, but whether that is a kernel can't k
2.
▲
by
jeffhostetler
4y ago
You might give the new fsmonitor a try. It does not lock any files on the disk. It does have a single handle to the worktree root directory to listen for events. But even that is not exclusive. And it CWD's out of the tree during i
3.
▲
by
jeffhostetler
4y ago
Thanks! And yes, I'll have a blog post on it. It is currently scheduled to appear on Wednesday on the GitHub blog. The new `git fsmonitor--daemon` is mostly shared code but with custom "backends" for each platform hidden a