Closed paulp closed 7 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.
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.
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.
I like it. Let me play with it a bit.