arthurlm / codecrafters-git-rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

progress-banner

Codecrafters git

Solution to the Codecrafters git challenge.

  • Everything works.
  • Contains comment on code.
  • Have minimal usage on unwrap / expect.
  • Use minimal possible extra crate 😁.

What can be improved in this code

  • For some reason huge repository like CPython does not work ... There may be a bug 🐞.
  • Add more unit tests.
  • Using Bytes crate more often can make the code simpler.
  • Using temporary packet file could avoid having to load the whole .pack file in memory.
  • Server response packet-line can be parsed better.

About

License:MIT License


Languages

Language:Rust 99.4%Language:Shell 0.6%