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

Method remove_copied_file

walrus/methods/input/input_update.py:212–215  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

210 self.session.add(input)
211
212 def remove_copied_file(self, input):
213 if input.mode == 'copy_file' and input.newly_copied_file:
214 input.newly_copied_file.state = "removed"
215 self.log['info']['removed_copied_file_id'] = input.newly_copied_file.id
216
217 def remove_associated_tasks(self, file):
218 tasks = self.session.query(Task).filter(

Callers 1

archive_inputMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected