Root

A root contains statistics about itself and the stores, as well as information for the bulk download Recovery system, and access to the import/export functionality.

Roots are unnamed, and the current root is accessed through FMTCRoot:

// final root = FMTCRoot;
final databaseSize = await FMTCRoot.stats.realSize;

To manage the root, use the methods on the backend.

Statistics

FMTCRoot.stats allows access to statistics, as well as listing of all existing stores, and the watching of changes in multiple/all stores.

Remember that the size and length statistics in the root may not be equal to the sum of the same statistics of all available stores, because tiles may belong to many stores, and these statistics do not count any tile multiple times.

Recovery

Recovery

Import/Export

Import/Export

Last updated

Was this helpful?