TODO
Use "FileReplacerUtils::destroyInstance()" to destroy the instance.
See fs_default_os_wrapper.h to wrap the async FS functions
See fs_sync_wrapper to use sync fs functions
Link the application with:
-lfswrapper -lutils -ldynamiclibs
You also need to add the include path to your Makefile. Example:
export INCLUDE := [...] -I$(PORTLIBS)/include -I$(PORTLIBS)/include/libfswrapper
To be able to use libfswrapper, you need to install the following dependencies:
- Application needs to be loaded from the homebrew_launcher
- libutils for common functions.
- dynamic_libs for access to the functions.