suffuse / sfs

identity fuse filesystem, toward lowering the fuse/unix/java impedance mismatches
Other
8 stars 1 forks source link

map, flatMap, filter on Metadata #18

Closed paulp closed 8 years ago

paulp commented 8 years ago

Only intended as a basis for discussion, not so much as a finished product.

EECOLOR commented 8 years ago

I have been staring at the rest. And I am convinced we should add methods as we use them. We could spend ages adding and discussing methods that end up not being used.

I think it's great if we have these methods on stand-by though.

EECOLOR commented 8 years ago

Oh, and I like the Only[A] concept. That can prove very valuable. Not sure about the methods and their signatures until we have a few use cases

paulp commented 8 years ago

I might have to stop for now but I pushed my work. In past work I've found a huge source of bugs is confusion about what will happen with symbolic links. Basically every operation where it makes a difference should be forced to either "follow" or "nofollow" to call the method. That's how I arranged it. It also improves the java.nio.file API by a lot, because there's only one "LinkOption" possible. Talk about overabstraction.

paulp commented 8 years ago

Restructuring.