- alt_dst_dir = misc.find_file(self._base_dst_dir,
- src_file_name,
- os.path.getsize(src_file_path),
- exclude_dir=self._base_src_dir)
+ if self._locator:
+ alt_dst_dir = self._locator.locate_file(src_file_name,
+ os.path.getsize(src_file_path),
+ meta_time)
+ else:
+ alt_dst_dir = misc.find_file(self._base_dst_dir,
+ src_file_name,
+ os.path.getsize(src_file_path),
+ meta_time,
+ exclude_dir=self._base_src_dir)