What I’m actually trying to do is notify FSKit that a file’s contents or attributes have changed.
I couldn’t find any API in the docs to invalidate or refresh an existing FSItem. reclaimItem makes sense as the point where I drop my references when the system is finished with the object, but it doesn’t seem like the right mechanism for “this file changed; please refresh any cached state.”
Is there an intended way to signal that kind of change to FSKit, or is there no explicit invalidation mechanism?
Topic:
App & System Services
SubTopic:
Core OS
Tags: