MCPcopy
hub / github.com/apenwarr/redo / save

Method save

redo/state.py:296–304  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

294 self._init_from_idname(self.id, None, allow_add=False)
295
296 def save(self):
297 cols = ', '.join(['%s=?'%i for i in _file_cols[2:]])
298 _write('update Files set '
299 ' %s '
300 ' where rowid=?' % cols,
301 [self.is_generated, self.is_override,
302 self.checked_runid, self.changed_runid, self.failed_runid,
303 self.stamp, self.csum,
304 self.id])
305
306 def set_checked(self):
307 self.checked_runid = env.v.RUNID

Callers 7

mainFunction · 0.95
set_checked_saveMethod · 0.95
mainFunction · 0.95
_start_selfMethod · 0.95
mainFunction · 0.95
_record_new_stateMethod · 0.80
isdirtyFunction · 0.80

Calls 1

_writeFunction · 0.85

Tested by

no test coverage detected