Commit Graph

17 Commits

Author SHA1 Message Date
mrbeanc
ebbc134117 清理警告,将restore功能转入Blob 2023-12-29 14:10:42 +08:00
mrbeanc
4d69273293 简化test util用法与名称,将head归为models 2023-12-29 13:04:53 +08:00
HouXiaoxuan
cdc289b3bb 拆分util文件 2023-12-28 18:52:30 +08:00
HouXiaoxuan
511a3d6c6e 将test的util函数移动到test宏下,去除unused警告 2023-12-28 15:03:15 +08:00
HouXiaoxuan
6d697e3e74 删除lib.rs,调整文件结构 2023-12-28 15:02:14 +08:00
mrbeanc
b568e87925 将Index改为单例模式,防止状态不一致; 注意:测试为单进程,需要reset防止共享单例 2023-12-28 13:53:47 +08:00
mrbeanc
dc0a3138ad 优化import导入和mod导出,简化使用 2023-12-26 14:59:06 +08:00
mrbeanc
f8da30b7d8 test-fix: test_commit() & test_read() 2023-12-23 10:40:11 +08:00
HouXiaoxuan
a8707149a9 优化commit第一次提交,parent为空而不是“” 2023-12-21 23:01:49 +08:00
HouXiaoxuan
83f3f3890c commit 增加时间戳 2023-12-21 23:01:13 +08:00
mrbeanc
737917e421 rustfmt: max-width=120 2023-12-21 20:54:12 +08:00
HouXiaoxuan
ea9592d152 get函数 2023-12-21 03:16:33 +08:00
HouXiaoxuan
9feddad8ef tree save&load 2023-12-21 01:39:45 +08:00
mrbeanc
2255cdaf09 将序列化中[to_string]改为[to_string_pretty]进行格式化,改善显示效果 2023-12-20 13:13:12 +08:00
HouXiaoxuan
d61b2f57e2 commit save&load 2023-12-20 00:01:58 +08:00
HouXiaoxuan
6616e98109 todo 2023-12-19 23:11:42 +08:00
mrbeanc
af5e36c24c 更名文件夹objects->models,并增添index.rs结构 2023-12-18 13:42:29 +08:00