feat: integrate common crate and add constants for user agent and lock files

This commit is contained in:
Kevin Yue committed 2025-11-12 23:35:43 +08:00
1 parent cad5ca3d68
commit 7048248268
26 files changed
+66 -54

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
use std::path::PathBuf;
use common::constants::GP_SERVICE_LOCK_FILE;
use thiserror::Error;
use tokio::fs;
@@ -94,7 +95,7 @@ impl LockInfo {
}
pub async fn gpservice_lock_info() -> Result<LockInfo, LockFileError> {
LockInfo::from_file(crate::GP_SERVICE_LOCK_FILE).await
LockInfo::from_file(GP_SERVICE_LOCK_FILE).await
}
#[cfg(test)]