重构: df-core改名df-types(类型库语义准+全workspace机械改名54处)
This commit is contained in:
@@ -13,9 +13,9 @@ pub mod workflow;
|
||||
|
||||
/// 当前时间戳(毫秒字符串)— 与 df-storage 内部的时间格式保持一致
|
||||
///
|
||||
/// 转发 df_core::now_millis(DRY:时间获取统一入口在此 crate,避免 commands 层与 df-storage 各写一份 SystemTime 调用)。
|
||||
/// 转发 df_types::now_millis(DRY:时间获取统一入口在此 crate,避免 commands 层与 df-storage 各写一份 SystemTime 调用)。
|
||||
pub(crate) fn now_millis() -> String {
|
||||
df_core::now_millis().to_string()
|
||||
df_types::now_millis().to_string()
|
||||
}
|
||||
|
||||
/// .map_err 错误格式化统一入口 — 当前行为零变化(仅 e.to_string()),
|
||||
|
||||
Reference in New Issue
Block a user