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

Method update_file_hash

shared/annotation.py:898–912  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

896 self.frame_number = input['current_frame']
897
898 def update_file_hash(self):
899
900 # Default behavior is to set status to complete upon saving
901 # TODO consideration for other ways to do this, show this etc.
902 # and consideration for the default to not save unless changes flag
903
904 # TODO this does not detect a deleted box
905 # If we create a new file then the deleted boxes get ignored automatically
906 # Else we are flagging soft delete in working dir right?
907
908 # If we properly update the new file to be file
909 # then we don't need to worry about separate handling
910
911 if self.count_instances_changed > 0 and self.file:
912 self.file.hash_update()
913
914 def __build_debug_log(self):
915 local_log = {}

Callers 1

Calls 1

hash_updateMethod · 0.80

Tested by

no test coverage detected