MCPcopy Index your code
hub / github.com/diffgram/diffgram / __start_copy_file

Method __start_copy_file

walrus/methods/input/process_media.py:607–617  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

605 return self.input.newly_copied_file
606
607 def __start_copy_file(self):
608 # Prep work
609 if self.input.media_type == "video":
610 logger.info(f"Starting Sequenced Copy from File {self.input.file.id}")
611 # Get the sequence_map.
612 self.__copy_video()
613 return
614 elif self.input.media_type == 'frame':
615 self.__copy_frame()
616 else:
617 self.__copy_file()
618 def __update_existing_file(self,
619 file,
620 init_existing_instances = False):

Callers 1

main_entryMethod · 0.95

Calls 3

__copy_videoMethod · 0.95
__copy_frameMethod · 0.95
__copy_fileMethod · 0.95

Tested by

no test coverage detected