code: def _move_to_store(self, srcpath, objhash):
          
          destpath = self.object_path(objhash)
          if os.path.exists(destpath):
              # Windows: delete any existing object at the destination.
              os.chmod(destpath, S_IWUSR)
              os.remove(destpath)
          os.chmod(srcpath, S_IRUSR | S_IRGRP | S_IROTH)  # Make read-only
          move(srcpath, destpath)
docs: Make the object read-only and move it to the store.