Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-memory repository #678

Closed
kszucs opened this issue Dec 4, 2016 · 2 comments
Closed

In-memory repository #678

kszucs opened this issue Dec 4, 2016 · 2 comments

Comments

@kszucs
Copy link
Contributor

kszucs commented Dec 4, 2016

Does libgit2 support in-memory stores? Any thoughts on embeddable databases like rocksdb or leveldb?

I'm calculating a lot of blames which seems io heavy (using ramdisk makes it an order of magnitude faster).

I can implement if someone would provide guidance.

@xmo-odoo
Copy link

@kszucs it doesn't look like there are any non-file backends still. #690 added support for custom backends, but it looks like you can only bridge libgit2 backends and it's unclear that this can be done without native code.

See also #76.

@jdavid
Copy link
Member

jdavid commented Apr 4, 2020

With PR #942, #948 and #982 merged this should be feasible, though not yet released there's some documentation as well.
It would be nice to have such a backend, if only for demonstration purposes.

@jdavid jdavid closed this as completed Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants