code: def set_root(self, new_root: Union[str, pathlib.Path]) -> None:
      self.disk_root = pathlib.Path(new_root)
  
file_path: textlesslib/textless/checkpoint_manager/manager.py
imports: from typing import Union
  from dataclasses import dataclass
  from torch.hub import download_url_to_file
  import pathlib
label_desc: Use image node_id 5 for calling the CheckpointManager obj's underlying member method code with example usage: obj.set_root(new_root) without return types