12 releases

0.2.3 Jul 1, 2024
0.2.2 Jul 1, 2024
0.2.1 Jun 28, 2024
0.1.5 Feb 6, 2024
0.1.3 Jan 30, 2024

#8 in #faster

Download history 94/week @ 2024-08-02 70/week @ 2024-08-09 47/week @ 2024-08-16 44/week @ 2024-08-23 55/week @ 2024-08-30 81/week @ 2024-09-06 144/week @ 2024-09-13 100/week @ 2024-09-20 69/week @ 2024-09-27 66/week @ 2024-10-04 50/week @ 2024-10-11 80/week @ 2024-10-18 42/week @ 2024-10-25 54/week @ 2024-11-01 55/week @ 2024-11-08 37/week @ 2024-11-15

197 downloads per month
Used in laze

Apache-2.0

24KB
593 lines

Introduction

git-cache-rs is a git helper that allows caching clones in a central folder so consecutive clones become faster.

It works by first cloning into a cache folder (~/.gitcache by default), then cloning locally out from there. The next time the same repository is cloned, it will be cloned from the cache.

Installation

cargo install git-cache

How to use

Just use git cache clone <clone options> instead of git clone <clone options>. Add -U if you'd like the cached version to update from the original repository before cloning (not needed for the first clone).

License

git-cache-rs is licensed under the terms of the Apache License (Version 2.0).

Dependencies

~5–15MB
~198K SLoC