code: def new_dir(self, name):
          # type: (bytes) -> None
          '''
          A method to create a new Path Table Record.
  
          Parameters:
           name - The name for this Path Table Record.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Path Table Record already initialized')
  
          # Zero for the parent dir num is bogus, but that will get fixed later.
          self._new(name, 0f new_dir(self, name):
          # type: (bytes) -> None
          '''
          A method to create a new Path Table Record.
  
          Parameters:
           name - The name for this Path Table Record.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Path Table Record already initialized')
  
          # Zero for the parent dir num is bogus, but that will get fixed later.
          self._new(name, 0)
docs: A method to create a new Path Table Record.
  
          Parameters:
           name - The name for this Path Table Record.
          Returns:
           Nothing.