parameters: (contents)
return_statement: return result
docstring: Parses a dexmanifest file.
  
    Args:
      contents: the contents of the manifest file to be parsed.
  
    Returns:
      A dict of install path -> ManifestEntry.
docstring_summary: Parses a dexmanifest file.
docstring_tokens: Parses a dexmanifest file .
function: def ParseManifest(contents):
    """Parses a dexmanifest file.
  
    Args:
      contents: the contents of the manifest file to be parsed.
  
    Returns:
      A dict of install path -> ManifestEntry.
    """
    result = {}
  
    for l in contents.split("\n"):
      entry = ManifestEntry(*(l.strip().split(" ")))
      result[entry.installpath] = entry
  
    return result
function_tokens: def ParseManifest ( contents ) : result = { } for l in contents . split ( "\n" ) : entry = ManifestEntry ( * ( l . strip ( ) . split ( " " ) ) ) result [ entry . installpath ] = entry return result