/grassroots-handler-file

The handler for locally-mounted files and directories for the Grassroots infrastructure

Primary LanguageCApache License 2.0Apache-2.0

File handler {#file_handler_guide}

The file handler allows the Grassroots Server to access any mounted files or directories.

Handlers are components that abstract out common I/O operations such as opening and closing files as well as reading and writing to them. By using the Handler API, any component in the Grassroots infrastructure can access these resources without having to worry about how or where they are stored.

Installation

To build this handler, you need the grassroots core and grassroots build config installed and configured.

The files to build the File handler are in the build/<platform> directory.

Linux

If you enter this directory

cd build/linux

you can then build the service by typing

make all

and then

make install

to install the handler into the Grassroots system where it will be available for use immediately.