Roots contain cached statistics and recovery information.
Because there is only a single root at any time, the root is not named. Instead, it is accessed via FMTCRoot - and all members are static.
FMTCRoot
// final root = FMTCRoot; final size = await FMTCRoot.stats.realSize;
After the root reference is constructed, the following actions can be performed with it:
Statistics: stats
stats
Retrieve information about the store and its contents
Recovery: recovery
recovery
Recovery from unexpectedly failed bulk downloads
External: external
external
Export & import store archives
Management of the root is not provided by FMTCRoot. Instead, the backend should implement any necessary methods.
Last updated 1 year ago
Was this helpful?