scripts/update_configuration_doc.py
def ParseProtoFilesRecursively(root):
  """Recursively parses all proto files into a list of Message objects."""
  message_list = []
  for dirpath, dirnames, filenames in os.walk(root):
    for name in filenames:
      if name.endswith('.proto'):
        path = os.path.join(dirpath, name)
        print("Found '%s'..." % path)
        assert not os.path.islink(path)
        message_list.extend(ParseProtoFile(io.open(path, encoding='UTF-8')))
  return message_list
Recursively parses all proto files into a list of Message objects.
Recursively parses all proto files into a list of Message objects.
Recursively parses all proto files into a list of Message objects .
def ParseProtoFilesRecursively(root):
  message_list = []
  for dirpath, dirnames, filenames in os.walk(root):
    for name in filenames:
      if name.endswith('.proto'):
        path = os.path.join(dirpath, name)
        print("Found '%s'..." % path)
        assert not os.path.islink(path)
        message_list.extend(ParseProtoFile(io.open(path, encoding='UTF-8')))
  return message_list
def ParseProtoFilesRecursively ( root ) : message_list = [ ] for dirpath , dirnames , filenames in os . walk ( root ) : for name in filenames : if name . endswith ( '.proto' ) : path = os . path . join ( dirpath , name ) print ( "Found '%s'..." % path ) assert not os . path . islink ( path ) message_list . extend ( ParseProtoFile ( io . open ( path , encoding = 'UTF-8' ) ) ) return message_list
Recursively parses all proto files into a list of Message objects.
Recursively parses all proto files into a list of Message objects .
"""Recursively parses all proto files into a list of Message objects."""
root