question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] - In memory files

See original GitHub issue

Is it possible to provide the files to madge from an in-memory store rather than it going off to disk?

UPDATE: tracking status of dependencies here before work on madge could begin:

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dazinatorcommented, Oct 11, 2022

Hi @iddan - no I am no longer actively working on this. I got quite far with it, including getting a bunch of the underlying dependencies changed to support the feature and then building upon them, with tests.

I was still working on completing node-filing-cabinet however, as per remaining tasks: https://github.com/dependents/node-filing-cabinet/pull/68

Also the file-exists dependency the author never replied. I forked it and made changes to allow a custom fs to be supplied, published my fork to npm and built on that version: https://github.com/dazinator/file-exists

For me, the original use case is not pressing, - would have been a nice to have, but I have now moved on. If someone did want to pick this up, I could provide info, otherwise, it could be dropped.

1reaction
dazinatorcommented, Aug 2, 2019

Still going… progress stopped for a while whilst waiting on downstream dependency but that’s unblocked now so I intend to resume this in the near future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Design In-Memory File System - Decode the Coding Interview ...
Design In-Memory File System. Understand and solve the interview question "Design In-Memory File System". We'll cover the following. Description.
Read more >
DESIGN IN-MEMORY FILE SYSTEM - PYTHON SOLUTION
In this video we are solving a Hard level Leetcode Question : Design In- Memory File System (#588). This question seems straightforward but...
Read more >
Leetcode 588 | Design In-Memory File System - YouTube
In this video, we introduce how to solve the "Design In- Memory File System" question which is used by big tech companies like...
Read more >
Coinbase | Phone | In memory File System - LeetCode Discuss
Asked to write an in-memory file system. Although there was a variant. mkdir -> /a should create director a. /a/b should only create...
Read more >
In-memory file for testing - Stack Overflow
You can use a Buffer. In general, it's a good idea to use io.Reader and io.Writer interfaces in your code (Buffer implements both)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found