class_docstr: A TreeMaker object that records everything that would be written.
  
  >>> r = Recording()
  >>> build({'foo': {'foo1.txt': 'yes'}, 'bar.txt': 'abc'}, r)
  >>> r.record
  ['foo/foo1.txt', 'bar.txt']
code: def __init__(self, loc=pathlib.PurePosixPath(), record=None):
      self.loc = loc
      self.record = record if record is not None else []
  
imports: import functools
  import pathlib
  from typing import Dict, Protocol, Union
  from typing import runtime_checkable
label_desc: Use image node_id 1 to create a new Recording object  with example: obj = Recording(loc, record)