wsgidav.samples.virtual_dav_provider.VirtualResourceProvider.exists#

VirtualResourceProvider.exists(path: str, environ: dict)#

Return True, if path maps to an existing resource.

This method should only be used, if no other information is queried for <path>. Otherwise a _DAVResource should be created first.

This method SHOULD be overridden by a more efficient implementation.