code: def _do_to_path(structure, path, command):
      if not path:
          return command(structure) if callable(command) else command
  
      kvs = _get_keys_and_values(structure, path[0])
      return _update_structure(structure, kvs, path[1:], command)
  
file_path: catboost/contrib/python/pyrsistent/py2/pyrsistent/_transformations.py
imports: import re
  import six
label_desc: Use image node_id 8 for calling a global function with example usage: _do_to_path(structure, path, command) and returns: _update_structure, unknown