def write_index(f, entries):
    f.write("DIRC")
    f.write(struct.pack(">LL", 2, len(entries)))
    for x in entries:
        write_cache_entry(f, x)
Get the list of all memory banks allowed by this cgroup.
dataset/ETHPy150Open natestedman/Observatory/observatory/lib/dulwich/index.py/write_index--crossover with--dataset/ETHPy150Open sosy-lab/benchexec/benchexec/cgroups.py/Cgroup.read_allowed_memory_banks