.. _packaging-code-index:

======================
Files and File Systems
======================

This section contains articles related to using files in Emscripten-compiled code.

- The :ref:`file-system-overview` provides a high level overview of how file operations are supported by Emscripten.
- :ref:`packaging-files` shows how to use :ref:`emcc <emccdoc>` to package the files needed by compiled code.
- :ref:`Synchronous-Virtual-XHR-Backed-File-System-Usage` explains how to setup lazy loading of binary data from HTTP servers using XHR’s.

.. seealso:: API Reference:

  - :ref:`Filesystem-API` (JavaScript).
  - :ref:`emscripten-h-asynchronous-file-system-api` (C/C++).

.. toctree::
  :hidden:

  file_systems_overview
  packaging_files
  Synchronous-Virtual-XHR-Backed-File-System-Usage

