code: def insert_paths(self, cache_key, paths):
      
      with self._tmpfile(cache_key, 'write') as tmp:
        self._artifact(tmp.name).collect(paths)
        yield self._store_tarball(cache_key, tmp.name)
docs: Gather paths into artifact, store it, and yield the path to stored artifact tarball.