caterva2.Root.__len__#

Root.__len__()#

Return the number of files in the root.

Examples

>>> import caterva2 as cat2
>>> root = cat2.Root('example', 'https://demo.caterva2.net')
>>> len(root)
12