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

Work with In-Memory Folder #2004

Open
humanely opened this issue Sep 5, 2024 · 0 comments
Open

Work with In-Memory Folder #2004

humanely opened this issue Sep 5, 2024 · 0 comments

Comments

@humanely
Copy link

humanely commented Sep 5, 2024

System information

  • node version: v22.2.0
  • npm or yarn version: 10.8.1
  • OS/version/architecture: MACOS 14.5 (23F79)
  • Applicable nodegit version: 0.27
node -v
npm -v # (or yarn -v)
node -e "console.log(process.platform)"
node -e "console.log(require('os').release())"
node -e "console.log(console.log(process.arch))"

Currently for my usecase, I want to pull/push files from DB to Git and vice versa. I don't want to create tmp folders due to distributed servers and disk outage concerns. Is there a way to create 'tmp' folder in memory and work with nodegit?
Or have I misunderstood the purpose of this library? Something like memfs https://github.com/streamich/memfs/blob/master/demo/git/README.md

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

1 participant