numRoots property

int get numRoots

Returns the number of cache-root directories that have been registered by calling addRoot.

Multiple roots: A cache may span more than one directory or storage device. Configure the same root set when reopening a persistent cache so previously stored items remain discoverable.

This property is read-only.

Implementation

int get numRoots => _CkCache_get_NumRoots(_handle);