Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.samples.virtual_dav_provider.VirtualResFile.getDescendants

VirtualResFile.getDescendants(collections=True, resources=True, depthFirst=False, depth='infinity', addSelf=False)

Return a list _DAVResource objects of a collection (children, grand-children, …).

This default implementation calls self.getMemberList() recursively.

This function may also be called for non-collections (with addSelf=True).

Parameters:
depthFirst : bool

use <False>, to list containers before content. (e.g. when moving / copying branches.) Use <True>, to list content before containers. (e.g. when deleting branches.)

depth : string

‘0’ | ‘1’ | ‘infinity’