code: def _record(self, ext_loc, parent_dir_num):
          # type: (int, int) -> bytes
          '''
          An internal method to generate a string representing this Path Table Record.
  
          Parameters:
           ext_loc - The extent location to place in this Path Table Record.
           parent_dir_num - The parent directory number to place in this Path Table
                            Record.
          Returns:
           A string representing this Path Table Record.
          '''
          return struct.pack(self.FMT, self.len_di, self.xattr_length,
                             ext_loc, parent_dir_num) + self.directory_identifier + b'\x00' * (self.len_di % 2f _record(self, ext_loc, parent_dir_num):
          # type: (int, int) -> bytes
          '''
          An internal method to generate a string representing this Path Table Record.
  
          Parameters:
           ext_loc - The extent location to place in this Path Table Record.
           parent_dir_num - The parent directory number to place in this Path Table
                            Record.
          Returns:
           A string representing this Path Table Record.
          '''
          return struct.pack(self.FMT, self.len_di, self.xattr_length,
                             ext_loc, parent_dir_num) + self.directory_identifier + b'\x00' * (self.len_di % 2)
docs: An internal method to generate a string representing this Path Table Record.
  
          Parameters:
           ext_loc - The extent location to place in this Path Table Record.
           parent_dir_num - The parent directory number to place in this Path Table
                            Record.
          Returns:
           A string representing this Path Table Record.