What I’m actually trying to do is notify FSKit that a file’s contents or attributes have changed.
...
Is there an intended way to signal that kind of change to FSKit, or is there no explicit invalidation mechanism?
Got it. So, the answer here is that this currently doesn't exist. This kind of functionality is only relevant to network/shared file systems [1], which FSKit doesn't currently have full support for.
On that note, if you have a moment, I'd appreciate you filing a bug on this describing exactly what you need/want from this API and then posting the bug number back here. This is an area FSKit is very interested in supporting, so they're actively interested in feedback about how that API should work.
[1] In a local file system, all changes originate directly in the VFS layer, so there isn't any reason for the file system to "notify" the VFS layer.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware