refactor: extract shared sync logic from gist into sync module

This commit is contained in:
2026-05-27 00:29:19 +08:00
parent 093cf153d3
commit c9f218f2e3
7 changed files with 211 additions and 204 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
use crate::config::SshellConfig;
use super::gist::{PullStrategy, build_sync_payload, merge_remote};
use super::{PullStrategy, build_sync_payload, merge_remote};
use anyhow::{Context, Result, bail};
use hmac::{Hmac, Mac};
use reqwest::blocking::Client;