Turi Create  4.0
turi::dir_archive_impl::archive_index_information Struct Reference

#include <core/storage/serialization/dir_archive.hpp>

Detailed Description

The archive index.

The archive index file simply comprises of the following:

[archive]
version = 1
num_prefixes = 4
[prefixes]
0000 = "dir_archive.ini"
0001 = "objects.bin"
0002 = "0001"
0003 = "0002"

The prefix section basically lists all the prefixes stored inside the directory archive. All files in the directory which have their file name beginning with a prefix is a file belonging to the archive.

The objects.bin, and dir_archive.ini file is always in the prefix

Once read into the archive_index_information struct however, the prefixes will all be absolute paths.

Definition at line 55 of file dir_archive.hpp.


The documentation for this struct was generated from the following file: