@classmethod
    def get_perm_name(cls, resource, method):

        return '%s_%s_%s' % (
            cls.PREFIX,
            cls._get_resource_name(resource),
            method.lower())
Match a path that contains .hgignore files at multiple levels.
dataset/ETHPy150Open wuher/devil/devil/perm/acl.py/PermissionController.get_perm_name--crossover with--dataset/ETHPy150Open ravello/testmill/lib/testmill/versioncontrol.py/match_hgignore