Lines Matching refs:original_info
88 original_info=None):
93 In this case, `name` value should be given, and `original_info`
96 deserialized from persisted json file. In this case, `original_info`
102 @param original_info: A dictionary of the result's size information.
113 if name is not None and original_info is not None:
115 'Only one of parameter `name` and `original_info` can be '
126 if original_info is None:
129 self._init_with_original_info(parent_dir, original_info)
167 def _init_with_original_info(self, parent_dir, original_info):
171 @param original_info: A dictionary of the result's size information.
180 assert original_info
183 self._name = original_info.keys()[0]
194 self._is_dir = utils_lib.DIRS in original_info[self.name]
201 self.original_size = original_info[self.name][
203 if utils_lib.TRIMMED_SIZE_BYTES in original_info[self.name]:
204 self.trimmed_size = original_info[self.name][
207 dirs = original_info[self.name][utils_lib.DIRS]
431 def add_file(self, name, original_info=None):
435 @param original_info: A dictionary of the file's size and sub-directory
442 original_info=original_info))
723 original_info={'': {utils_lib.ORIGINAL_SIZE_BYTES: 0,
748 return ResultInfo(parent_dir=result_dir, original_info=summary)