MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / get_commit_uri

Method get_commit_uri

tiledb/sm/array/array_directory.cc:549–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549URI 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
560URI ArrayDirectory::get_vacuum_uri(const URI& fragment_uri) const {
561 FragmentID fragment_id{fragment_uri};

Callers 5

vacuumMethod · 0.80
ordered_writeMethod · 0.80
unordered_writeMethod · 0.80
delete_fragmentsMethod · 0.80

Calls 5

array_format_versionMethod · 0.80
to_stringMethod · 0.80
join_pathMethod · 0.80
URIClass · 0.50
nameMethod · 0.45

Tested by

no test coverage detected