parameters: (p)
docstring: List files and directories located in the current path that need to be released.
docstring_summary: List files and directories located in the current path that need to be released.
docstring_tokens: List files and directories located in the current path that need to be released .
function: def list_projects(p):
      """List files and directories located in the current path that need to be released."""
      print(p + '/')
      for f in os.listdir(p):
          pf = p + '/' + f
          if omit_match(pf):
              continue
          if os.path.isfile(pf):
              if is_ignored_file(f):
                  continue
              print(pf)
          else:
              if f == 'controllers':
                  list_controllers(pf)
              elif f == 'plugins':
                  list_plugins(pf)
              elif f == 'protos':
                  list_protos(pf)
              elif f == 'worlds':
                  list_worlds(pf)
              elif f == 'libraries':
                  list_folder(pf)
              elif pf in recurse_in_projects:
                  print(pf + " [recurse]")
              else:
                  list_projects(pf)
function_tokens: def list_projects ( p ) : print ( p + '/' ) for f in os . listdir ( p ) : pf = p + '/' + f if omit_match ( pf ) : continue if os . path . isfile ( pf ) : if is_ignored_file ( f ) : continue print ( pf ) else : if f == 'controllers' : list_controllers ( pf ) elif f == 'plugins' : list_plugins ( pf ) elif f == 'protos' : list_protos ( pf ) elif f == 'worlds' : list_worlds ( pf ) elif f == 'libraries' : list_folder ( pf ) elif pf in recurse_in_projects : print ( pf + " [recurse]" ) else : list_projects ( pf )