Logo Search packages:      
Sourcecode: ubuntuone-client version File versions

def ubuntuone::syncdaemon::sync::SyncStateMachineRunner::commit_file (   self,
  event,
  params,
  hash 
)

commit the new content.

Definition at line 537 of file sync.py.

00537                                               :
        """commit the new content."""
        try:
            self.m.fs.commit_partial(
                            self.key['node_id'], self.key['share_id'], hash)
        except InconsistencyError:
            # someone or something broke out partials.
            # start work to go to a good state
            self.key.remove_partial()
            self.key.set(server_hash=self.key['local_hash'])
            self.m.action_q.query([
                (self.key["share_id"], self.key["node_id"], "")])

    def new_local_file(self, event, parms, path):


Generated by  Doxygen 1.6.0   Back to index