File System service

API Reference


The File System (FS) service allows accessing the file system on different platforms:

  • providing a Read/Write space to create/store/read files.
  • on Read Only platforms, the /tmp/data/le_fs is used as base of the FS sevice.

The File System service offers the following file operations:

The files and directories tree used by the fsDaemon may be set by the user with the config tree variable fsService:/fsPrefixPath. If it is not set, the path /data/le_fs is used if writeable. Else, it uses /tmp/data/le_fs.

IPC interfaces binding

All the functions of this API are provided by the fsService application service.

Here's a code sample binding to File System service:

bindings:
{
   clientExe.clientComponent.le_fs -> fsService.le_fs
}