code: def commit(self, f):
          '''Move the temporary file to the target location.'''
          if self._overwrite:
              replace_atomic(f.name, self._path)
          else:
              move_atomic(f.name, self._pathf commit(self, f):
          '''Move the temporary file to the target location.'''
          if self._overwrite:
              replace_atomic(f.name, self._path)
          else:
              move_atomic(f.name, self._path)
docs: Move the temporary file to the target location.