File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed
Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ graph TD;
6464- If zstd compression has the opposite effect, skip compression.
6565- Decrypt all files with extension ` .enc ` , ` .zst.enc ` .
6666
67+ ## Develop
68+
69+ - for testing, please use ` cargo test -- --test-threads=1 `
70+
6771## TODO
6872
6973- [ ] zstd effect checking
Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ graph TD;
6464- 如果 zstd 压缩后具有反效果,则跳过压缩。
6565- 解密时对所有 ` .enc ` , ` .zst.enc ` 进行解密。
6666
67+ ## 贡献
68+
69+ - 测试需要使用单线程:` cargo test -- --test-threads=1 ` (原因是会用到 ` std::env::current_dir ` )
70+
6771## TODO
6872
6973- [ ] zstd effect checking
Original file line number Diff line number Diff line change @@ -83,8 +83,9 @@ impl Config {
8383 "get absolute path `{:?}`, please use relative path instead" ,
8484 path_relative_to_repo
8585 ) ;
86+ // there's no need to use ``, the output path has ""
8687 info ! (
87- "Add to crypt list: `{}` " ,
88+ "Add to crypt list: {} " ,
8889 format!( "{:?}" , path_relative_to_repo) . green( )
8990 ) ;
9091 self . crypt_list . push (
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ impl Repo {
8686 }
8787 pub fn get_key ( & self ) -> String {
8888 self . get_config ( "key" )
89- . die ( "Key not found, please exec `git-se set key <KEY> ` first." )
89+ . die ( "Key not found, please exec `git-se p ` first." )
9090 }
9191
9292 /// returns the first 16 bytes of sha3-224 of the key.
You can’t perform that action at this time.
0 commit comments