OnChangeEventFn#

Fully qualified name: carb::filesystem::OnChangeEventFn

Defined in carb/filesystem/IFileSystem.h

typedef void (*carb::filesystem::OnChangeEventFn)(const char *path, ChangeAction action, void *userData, const char *newPath)#

Defines the callback function to use when listening to changes on file system.

Param path:

The path for file system change.

Param action:

The change action that occurred.

Param userData:

The user data associated with the subscription to the change event.

Param newPath:

The path for the new name of the file. Used only for eRenamed action, otherwise it’s nullptr