caterva2.Root.__len__#

Root.__len__()#

Returns the number of files in the root.

Examples

>>> import caterva2 as cat2
>>> client = cat2.Client('https://demo.caterva2.net')
>>> root = client.get('example')
>>> len(root)
12