def detect_type(repodir='.'):
    for repotype in registry:
        detect = registry[repotype][0]
        if detect(repodir):
            return repotype
Return a Model instance given the entity key.
dataset/ETHPy150Open ravello/testmill/lib/testmill/versioncontrol.py/detect_type--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/ndb/context.py/Context.get