feat: ZK 节点树改为真正懒加载 (#1987)
* feat: lazy load zookeeper nodes * fix: preserve zookeeper focused path hierarchy
This commit is contained in:
1 parent
9ae4d4b59e
commit
de39c1662d
12 files changed
+571
-59
No files matched your search
@@ -12,8 +12,17 @@ pub async fn zookeeper_list_prefix(
|
||||
prefix: String,
|
||||
limit: usize,
|
||||
continuation: Option<String>,
|
||||
recursive: Option<bool>,
|
||||
) -> Result<KvListPrefixResponse, String> {
|
||||
dbx_core::agent_kv::kv_list_prefix_core(&state, &connection_id, &prefix, limit, continuation.as_deref()).await
|
||||
dbx_core::agent_kv::kv_list_prefix_core_with_options(
|
||||
&state,
|
||||
&connection_id,
|
||||
&prefix,
|
||||
limit,
|
||||
continuation.as_deref(),
|
||||
recursive,
|
||||
)
|
||||
.await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in new issue
Block a user