def create_index(config):
filename = pathlib.Path(config.cache_path) / "<STR_LIT>"<EOL>index = {"<STR_LIT:version>": __version__}<EOL>with open(filename, "<STR_LIT:w>") as out:<EOL><INDENT>out.write(json.dumps(index, indent=<NUM_LIT:2>))<EOL><DEDENT>
Create the root index.