HouXiaoxuan
|
ba7797ece1
|
commit操作初版完成
|
2023-12-21 02:14:59 +08:00 |
|
HouXiaoxuan
|
b560a3f302
|
修改函数接口
|
2023-12-21 02:03:12 +08:00 |
|
HouXiaoxuan
|
500a1de45c
|
优化panic
|
2023-12-21 01:48:37 +08:00 |
|
HouXiaoxuan
|
9feddad8ef
|
tree save&load
|
2023-12-21 01:39:45 +08:00 |
|
HouXiaoxuan
|
94c2cadf72
|
增加测试工具函数ensure_test_file
|
2023-12-21 01:39:26 +08:00 |
|
HouXiaoxuan
|
85917e1be4
|
增加一个路径查找的兜底
|
2023-12-21 00:03:25 +08:00 |
|
HouXiaoxuan
|
0c82e91a4b
|
彩色panic信息
|
2023-12-20 23:25:54 +08:00 |
|
mrbeanc
|
a573ede3a6
|
优化add命令输出
|
2023-12-20 22:18:30 +08:00 |
|
mrbeanc
|
162313b7bc
|
Index:在成员函数中对传入的path进行预处理,统一路径形式(absolute)
|
2023-12-20 21:28:55 +08:00 |
|
mrbeanc
|
02a27b4327
|
实现Index::load()
|
2023-12-20 21:02:13 +08:00 |
|
mrbeanc
|
16ee60339d
|
完善Index::save逻辑
|
2023-12-20 18:29:48 +08:00 |
|
mrbeanc
|
ffac740f97
|
处理Windows下绝对路径转换产生的"\\\\?\\"前缀
|
2023-12-20 16:37:55 +08:00 |
|
mrbeanc
|
2255cdaf09
|
将序列化中[to_string]改为[to_string_pretty]进行格式化,改善显示效果
|
2023-12-20 13:13:12 +08:00 |
|
mrbeanc
|
642f8b2cff
|
新增setup_test_with_clean_mit()用于获取干净的mit目录(空仓库)
|
2023-12-20 13:11:58 +08:00 |
|
mrbeanc
|
5d5187a91c
|
优化add逻辑
|
2023-12-20 11:58:40 +08:00 |
|
HouXiaoxuan
|
ee0360fa66
|
todo
|
2023-12-20 02:11:45 +08:00 |
|
HouXiaoxuan
|
cb2a8eb9d0
|
未测试的commit
|
2023-12-20 02:11:01 +08:00 |
|
HouXiaoxuan
|
37c030aa83
|
format&去掉一个警告
|
2023-12-20 02:10:32 +08:00 |
|
HouXiaoxuan
|
7871cb7c47
|
增加head操作
|
2023-12-20 02:07:11 +08:00 |
|
HouXiaoxuan
|
9c7dee7521
|
heads文件操作
|
2023-12-20 01:45:33 +08:00 |
|
HouXiaoxuan
|
1b42e53884
|
TODO,需要等待Index实现
|
2023-12-20 01:08:25 +08:00 |
|
HouXiaoxuan
|
c9726e3f11
|
format
|
2023-12-20 01:08:15 +08:00 |
|
HouXiaoxuan
|
38e448cc75
|
添加tree依赖的函数,有待修改
|
2023-12-20 01:08:04 +08:00 |
|
HouXiaoxuan
|
c034120dfd
|
tree save&load 未完成
|
2023-12-20 00:01:58 +08:00 |
|
HouXiaoxuan
|
d61b2f57e2
|
commit save&load
|
2023-12-20 00:01:58 +08:00 |
|
mrbeanc
|
6780be2e02
|
完善add逻辑
|
2023-12-19 23:57:11 +08:00 |
|
HouXiaoxuan
|
6616e98109
|
todo
|
2023-12-19 23:11:42 +08:00 |
|
HouXiaoxuan
|
3d552014c2
|
load&save for Blob
|
2023-12-19 22:22:05 +08:00 |
|
HouXiaoxuan
|
26f3c84535
|
测试路径工具
|
2023-12-19 22:09:01 +08:00 |
|
mrbeanc
|
5d7e0585bb
|
临时提交:add & index & blob
|
2023-12-19 21:03:47 +08:00 |
|
HouXiaoxuan
|
f197a5247f
|
test_save
|
2023-12-19 20:29:39 +08:00 |
|
HouXiaoxuan
|
f8f785f78b
|
使用路径常量
|
2023-12-19 17:25:08 +08:00 |
|
HouXiaoxuan
|
70f1d1dbc1
|
使用Pathbuf代替String
|
2023-12-19 17:24:11 +08:00 |
|
mrbeanc
|
247347a76e
|
初步编写add逻辑;新增终端颜色库
|
2023-12-19 13:49:27 +08:00 |
|
mrbeanc
|
af5e36c24c
|
更名文件夹objects->models,并增添index.rs结构
|
2023-12-18 13:42:29 +08:00 |
|
mrbeanc
|
f55ab0e7a6
|
补充:mit add -u
|
2023-12-18 13:41:59 +08:00 |
|
HouXiaoxuan
|
3215eab199
|
simple store
|
2023-12-18 01:07:03 +08:00 |
|
HouXiaoxuan
|
a0059d1c9c
|
check storage
|
2023-12-18 00:42:18 +08:00 |
|
HouXiaoxuan
|
f3cfb559b5
|
精简init
|
2023-12-17 18:53:04 +08:00 |
|
HouXiaoxuan
|
64fbfd178c
|
fix crate name change
|
2023-12-17 18:52:49 +08:00 |
|
HouXiaoxuan
|
7389d4124a
|
rm git-rs
|
2023-12-17 18:52:37 +08:00 |
|
HouXiaoxuan
|
1f51742750
|
add .mit & .DS_Store
|
2023-12-17 18:44:14 +08:00 |
|
HouXiaoxuan
|
c78ac18e10
|
init macos support
|
2023-12-17 18:33:33 +08:00 |
|
mrbeanc
|
03d5c815f2
|
实现:init命令
|
2023-12-17 15:41:20 +08:00 |
|
mrbeanc
|
e1b21b66af
|
新增add . & add -a逻辑
|
2023-12-17 12:19:08 +08:00 |
|
mrbeanc
|
2e102a1694
|
为了简化命令行调试,将包名mini_git简写为mit;
(只修改exe名也是可以做到的[[bin]])
|
2023-12-17 11:51:01 +08:00 |
|
HouXiaoxuan
|
6fee838582
|
cli command
|
2023-12-16 22:17:28 +08:00 |
|
HouXiaoxuan
|
6f706cd32f
|
实现一些数据结构
|
2023-12-16 21:40:35 +08:00 |
|
HouXiaoxuan
|
2df0375e2e
|
vscode ignore
|
2023-12-16 21:40:19 +08:00 |
|
mrbeanc
|
e5141c159b
|
初步搭建代码框架 包括objects, tests, utils
|
2023-12-16 18:37:29 +08:00 |
|