def METHOD_NAME(path):
    """If the supplied path contains kcov data, ensure it is available in a
    `kcov` subtree on disk, expanding data from the bazel-constructed zip file
    if necessary.
    """
    kcov_dir = os.path.join(path, 'kcov')
    if os.path.exists(os.path.join(kcov_dir, 'index.html')):
        return
    # Maybe our data has been zipped and deleted.
    zip_path = os.path.join(path, 'outputs.zip')
    shutil.rmtree(kcov_dir)
    with zipfile.ZipFile(zip_path, 'r') as zf:
        members = [m for m in zf.namelist() if m.startswith('kcov')]
        zf.extractall(path=path, members=members)