Jia Chao
|
0d56cda3b3
|
ccutils::cmd::IsOk 处理 Command 的结果和输出
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-08-26 15:09:11 +08:00 |
|
Jia Chao
|
edfeda766e
|
tracing: pub 导出常用函数及宏
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-12 14:46:58 +08:00 |
|
Jia Chao
|
ee16adb37f
|
file: 增加 set_download_process 函数,可设置是否显示下载进度
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-10 11:59:55 +08:00 |
|
Jia Chao
|
f5b40e8cfe
|
fix: async_download 增加检查连接状态
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-05 14:59:01 +08:00 |
|
Jia Chao
|
0e0ce22bc0
|
file: 增加 temp_dir 和 walk_dir
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-05 14:13:54 +08:00 |
|
Jia Chao
|
f1b2de1a97
|
增加 util 模块
添加功能函数:
uuid 生成一个新的 UUID。
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-04 16:36:46 +08:00 |
|
Jia Chao
|
183d0e1e67
|
去掉无用代码
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-04 16:30:46 +08:00 |
|
Jia Chao
|
3544ad5256
|
增加 file 模块
添加功能函数:
abs_path 获取给定路径的绝对路径。
async_download 异步下载文件并保存到指定的目标路径。
download 从给定的 URL 下载文件并将其保存到指定的目标路径。
parent_exists 检查给定路径的父目录是否存在。
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-04 14:46:06 +08:00 |
|
Jia Chao
|
4e2268eb46
|
update .gitignore
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-04 14:36:55 +08:00 |
|
Jia Chao
|
e7ee80f7cf
|
init
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
|
2024-07-03 14:56:30 +08:00 |
|