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 write_text(self, content, **kwargs):
      self.record.append(str(self.loc))
  
imports: import functools
  import pathlib
  from typing import Dict, Protocol, Union
  from typing import runtime_checkable
label_desc: Use image node_id 3 for calling the Recording obj's underlying member method code with example usage: obj.write_text(content) without return types