-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
- Directory size (when iterating through MemFS) is reported as 0, whereas in a real File System it reports the size of the directory entry in the file system (not size of contained files!)
- It would be nice to be able to create a MemFS with the option to fake the file size when using Create. I mean fake without actually stuffing the file so as to save memory)
Why? I have a utility function that mimics a real file system (os) into a memfs instance. I do it to implement a dry run. By faking tbe file object size one could save memory and still do a run and being able to calculate sizes based on the reported fake size.
Metadata
Metadata
Assignees
Labels
No labels