git2-rs icon indicating copy to clipboard operation
git2-rs copied to clipboard

Creating an in-memory Git repository

Open Bauxitedev opened this issue 4 years ago • 2 comments

libgit2 supports creating an in-memory repository that doesn't write to disk at all. This is useful for applications that only need to clone a repo once to do some analysis and then discard them.

See https://stackoverflow.com/a/39864196 for an example.

It seems git2-rs does not support this.. Or haven't I looked hard enough?

Bauxitedev avatar Apr 07 '21 11:04 Bauxitedev

It's not the supported at the moment, but is there an attempt to implement it?

matsp avatar Jan 17 '22 20:01 matsp

This would be cool but seems very hard

Some1and2-XC avatar Jul 17 '24 13:07 Some1and2-XC