Function trx::append_groups_to_directory
Defined in File trx.h
Function Documentation
-
void trx::append_groups_to_directory(const std::string &directory, const std::map<std::string, std::vector<uint32_t>> &groups, bool overwrite = true)
Append named groups to an existing TRX directory.
Creates the groups/ subdirectory if absent, then writes one “{name}.uint32” binary file per group.
- Parameters:
directory – Path to an existing TRX directory.
groups – Map from group name to sorted vector of uint32 streamline indices.
overwrite – If false, existing files with the same name are skipped (default: true).
- Throws:
TrxIOError – on any I/O failure.