Pergunta

I'm currently developing a C++ application which should monitor the file system to reindex a set of files when they change. I am currently using Linux' inotify system, but would like the application to be as broadly portable to other systems as possible.

Do you know of high-level, portable filesystem monitoring libraries, which would work at least on Linux and Mac OSX? (and have C or C++ bindings?)

Foi útil?

Solução

There is Qt with QFileSystemWatcher

QFileSystemWatcher Class

The QFileSystemWatcher class provides an interface for monitoring files and directories for modifications. More...

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top