wsgidav.samples.hg_dav_provider.HgResourceProvider.exists

HgResourceProvider.exists(path, environ)

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.