Title: Work with In-Memory Folder · Issue #2004 · nodegit/nodegit · GitHub
Open Graph Title: Work with In-Memory Folder · Issue #2004 · nodegit/nodegit
X Title: Work with In-Memory Folder · Issue #2004 · nodegit/nodegit
Description: 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(...
Open Graph Description: 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(...
X Description: 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...
Opengraph URL: https://github.com/nodegit/nodegit/issues/2004
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Work with In-Memory Folder","articleBody":"## System information\r\n - node version: v22.2.0\r\n - npm or yarn version: 10.8.1\r\n - OS/version/architecture: MACOS 14.5 (23F79)\r\n - Applicable nodegit version: 0.27\r\n\r\n```\r\nnode -v\r\nnpm -v # (or yarn -v)\r\nnode -e \"console.log(process.platform)\"\r\nnode -e \"console.log(require('os').release())\"\r\nnode -e \"console.log(console.log(process.arch))\"\r\n```\r\n\r\nCurrently 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?\r\nOr have I misunderstood the purpose of this library? Something like memfs https://github.com/streamich/memfs/blob/master/demo/git/README.md","author":{"url":"https://github.com/humanely","@type":"Person","name":"humanely"},"datePublished":"2024-09-05T04:06:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2004/nodegit/issues/2004"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:68390a57-12a8-d834-9b00-11402a109c82 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A38:3DC8AB:17D4A4C:2047059:697015D2 |
| html-safe-nonce | becb64c7aad5bf39b84410f3af4a7634a8ce6f671273bc03a001b3b6d7ff3298 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTM4OjNEQzhBQjoxN0Q0QTRDOjIwNDcwNTk6Njk3MDE1RDIiLCJ2aXNpdG9yX2lkIjoiODQxNjU0MzM0Mzk3NjE3NjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dcfbbb19d49c63e0649a4e3c7c099e4dd768da735a81e743db5c689de0ae3a6f |
| hovercard-subject-tag | issue:2506720917 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/2004/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0a66852d25d126ec7fac4b551937ad4a21406f649978995252f5f73b8f154213/nodegit/nodegit/issues/2004 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a66852d25d126ec7fac4b551937ad4a21406f649978995252f5f73b8f154213/nodegit/nodegit/issues/2004 |
| og:image:alt | 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(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | humanely |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98881eadf8ae73000970c42161c094b0809b1330 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width