MCPcopy Create free account
hub / github.com/activeloopai/deeplake / join_path

Function join_path

cpp/deeplake_pg/dl_catalog.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31constexpr const char* k_meta_name = "meta";
32
33std::string join_path(const std::string& root, const std::string& name)
34{
35 if (!root.empty() && root.back() == '/') {
36 return root + k_catalog_dir + "/" + name;
37 }
38 return root + "/" + k_catalog_dir + "/" + name;
39}
40
41// Cache for catalog table handles to avoid repeated S3 opens
42struct catalog_table_cache

Callers 4

get_meta_tableMethod · 0.85
open_catalog_tableFunction · 0.85
ensure_catalogFunction · 0.85
load_tables_and_columnsFunction · 0.85

Calls 2

emptyMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected