suffuse / sfs

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

Fresh implementation of the basics. #29

Closed paulp closed 7 years ago

EECOLOR commented 8 years ago

I like it. Let me play with it a bit.

EECOLOR commented 8 years ago

This is my work from yesterday: https://github.com/suffuse/sfs/compare/1dd0dc9ffe24481118ad1f678854a71a29e2c4aa...metadata-only-experiment

I know it's based on an outdated branch, but it runs through all of the tests. So you might want to keep some of the subtleties in mind.

EECOLOR commented 8 years ago

Things I like to keep:

1. Key[-A], it's really handy to be able to have some type that has concrete instances:

metadata[fs.Node]

metadata set File(...)

2. The abstract Path, Name and IO. The give me freedom and allow me to create an fs for java and fuse that use different types for these things.

3. Keeping the worlds of fuse and java separated through Filesystem. It helps me to keep things simple and contained.

EECOLOR commented 8 years ago

Hmm, having thought about it, -A can cause trouble on retrieving. Too bad, setting a value metadata set fs.File(...) is handy. It would suck if we have to identity[fs.Node] before setting it.