MCPcopy Index your code
hub / github.com/kivy/python-for-android / list_recipes

Method list_recipes

pythonforandroid/recipe.py:714–723  ·  view source on GitHub ↗
(cls, ctx)

Source from the content-addressed store, hash-verified

712
713 @classmethod
714 def list_recipes(cls, ctx):
715 forbidden_dirs = ('__pycache__', )
716 for recipes_dir in cls.recipe_dirs(ctx):
717 if recipes_dir and exists(recipes_dir):
718 for name in listdir(recipes_dir):
719 if name in forbidden_dirs:
720 continue
721 fn = join(recipes_dir, name)
722 if isdir(fn):
723 yield name
724
725 @classmethod
726 def get_recipe(cls, name, ctx):

Callers 3

__init__Method · 0.80
recipesMethod · 0.80
test_list_recipesMethod · 0.80

Calls 1

recipe_dirsMethod · 0.80

Tested by 1

test_list_recipesMethod · 0.64