完善folder页面的web接口实现

This commit is contained in:
xintaofei
2026-03-25 15:27:43 +08:00
parent ac09d3db9e
commit 218055ab01
18 changed files with 569 additions and 37 deletions

View File

@@ -13,7 +13,7 @@ use crate::terminal::types::TerminalInfo;
/// Uses `credential.helper` with a script that calls the app binary with
/// `--credential-helper`. The binary opens the DB, looks up the matching
/// account, and outputs credentials. No credentials are written to disk.
fn prepare_credential_env(
pub(crate) fn prepare_credential_env(
app_data_dir: &std::path::Path,
) -> Option<HashMap<String, String>> {
// Get the path to the current running binary