afero icon indicating copy to clipboard operation
afero copied to clipboard

Adjust MemFs.List() to return the data

Open grongor opened this issue 5 years ago • 2 comments

I found the List method quite useless before. I was also unable to properly test my code without this method - I would have to iterate through entire filesystem to ensure that my code didn't write to some unexpected place.

grongor avatar Jul 11 '19 19:07 grongor

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 23 '19 10:07 CLAassistant

So...3 years and the MemMapFs is still unusable for many tests because I can't query it in any way. Don't you think it's time to fix this? Printing something in the library wasn't ever a clever idea. If the "breaking change" is the issue then let's just choose another name for the method.

grongor avatar Jun 05 '22 10:06 grongor