You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Files should provide support for watching the underlying file system.
It is never guaranteed that every file system has watch-support, meaning that such an API should be opt-in, i.e. it will not be guaranteed a watcher will always work/will always notify about every change. It's basically going to be "we're reporting whatever is possible, don't blindly trust what we're telling you about the changes".
System.IO already provides native support for this via the FileSystemWatcher and UWP apparently allows limited watching via search trickery. The in-memory file system can easily be extended with change notifications. Therefore, the three current implementations should all, to some extent, support such an API.
Discussion
I'm not sure about how exactly the API will look like. .NET's FileSystemWatcher might be a good inspiration though, but other approaches are, of course, also possible.
The text was updated successfully, but these errors were encountered:
New Feature Proposal
Description
Files should provide support for watching the underlying file system.
It is never guaranteed that every file system has watch-support, meaning that such an API should be opt-in, i.e. it will not be guaranteed a watcher will always work/will always notify about every change. It's basically going to be "we're reporting whatever is possible, don't blindly trust what we're telling you about the changes".
System.IO
already provides native support for this via theFileSystemWatcher
and UWP apparently allows limited watching via search trickery. The in-memory file system can easily be extended with change notifications. Therefore, the three current implementations should all, to some extent, support such an API.Discussion
I'm not sure about how exactly the API will look like. .NET's
FileSystemWatcher
might be a good inspiration though, but other approaches are, of course, also possible.The text was updated successfully, but these errors were encountered: