parameters: (self, path, subpath=None)
return_statement: return self._file_map.get((path, subpath))
docstring: Returns the JSON entry for the given path / subpath.
docstring_summary: Returns the JSON entry for the given path / subpath.
docstring_tokens: Returns the JSON entry for the given path / subpath .
function: def _GetEntry(self, path, subpath=None):
      """Returns the JSON entry for the given path / subpath."""
      if self._file_map is None:
        self._file_map = {}
        for entry in self._files:
          self._file_map[(entry['path'], None)] = entry
          for subentry in entry.get('entries', ()):
            self._file_map[(entry['path'], subentry['path'])] = subentry
      return self._file_map.get((path, subpath))
function_tokens: def _GetEntry ( self , path , subpath = None ) : if self . _file_map is None : self . _file_map = { } for entry in self . _files : self . _file_map [ ( entry [ 'path' ] , None ) ] = entry for subentry in entry . get ( 'entries' , ( ) ) : self . _file_map [ ( entry [ 'path' ] , subentry [ 'path' ] ) ] = subentry return self . _file_map . get ( ( path , subpath ) )