| 547 | } |
| 548 | |
| 549 | URI ArrayDirectory::get_commit_uri(const URI& fragment_uri) const { |
| 550 | FragmentID fragment_id{fragment_uri}; |
| 551 | if (fragment_id.array_format_version() < 12) { |
| 552 | return URI(fragment_uri.to_string() + constants::ok_file_suffix); |
| 553 | } |
| 554 | |
| 555 | auto temp_uri = uri_.join_path(constants::array_commits_dir_name) |
| 556 | .join_path(fragment_id.name()); |
| 557 | return URI(temp_uri.to_string() + constants::write_file_suffix); |
| 558 | } |
| 559 | |
| 560 | URI ArrayDirectory::get_vacuum_uri(const URI& fragment_uri) const { |
| 561 | FragmentID fragment_id{fragment_uri}; |
no test coverage detected