MCPcopy Create free account
hub / github.com/acking-you/static_flow / local_table_lock_path

Function local_table_lock_path

crates/store/src/optimize.rs:472–475  ·  view source on GitHub ↗
(db_uri: &str, table: &str, scope: &str)

Source from the content-addressed store, hash-verified

470}
471
472fn local_table_lock_path(db_uri: &str, table: &str, scope: &str) -> PathBuf {
473 let table_uri = format!("{}/{}.lance", db_uri.trim_end_matches('/'), table);
474 table_access_lock_path(&format!("{scope}:{table_uri}"))
475}
476
477fn table_access_lock_path(lock_key: &str) -> PathBuf {
478 let mut hasher = DefaultHasher::new();

Callers 2

Calls 1

table_access_lock_pathFunction · 0.70

Tested by

no test coverage detected