mem-fs icon indicating copy to clipboard operation
mem-fs copied to clipboard

Stricter #get() operation

Open SBoudrias opened this issue 11 years ago • 1 comments

Right now #get() will return file pointer if we try to get a directory. We should be stricter about that and throw if what we try to get is not a file.

Same thing about permissions issue. We shouldn't have a catch all clause - ideally we'd only catch read errors.

SBoudrias avatar Oct 17 '14 16:10 SBoudrias

A complexity issue here is that a file may not have any extension. So how do we differentiate those from folders? I'm not sure anymore if it is possible.

SBoudrias avatar Oct 17 '14 20:10 SBoudrias