def get_backend_type(self, location):<EOL>
for vc_type in self._registry.values():<EOL><INDENT>if vc_type.controls_location(location):<EOL><INDENT>logger.debug('<STR_LIT>',<EOL>location, vc_type.name)<EOL>return vc_type<EOL><DEDENT><DEDENT>return None<EOL>
Return the type of the version control backend if found at given
location, e.g. vcs.get_backend_type('/path/to/vcs/checkout')