Simplifying the Public API (HamtForest
)
#407
DougAnderson444
started this conversation in
Ideas
Replies: 1 comment
-
Yeah, APIs could use some work. At the moment we're in "make it work" phase, and not yet in "make it nice". I consider almost all of the API to be low-level at the moment, requiring you to manage the mutable root pointer to the latest state of the file system itself, and requiring you to keep around pointers to the BlockStore, forest and randomness, too. The plan is to expose the "RootTree" API eventually. At the moment it's a hidden module (due to being unfinished and missing documentation). You can see the latest efforts in this PR: #390
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm digging into WNFS a bit, and what I'm noticing is there are a lot of options:
Any chance these could be slimmed down to make getting up and running faster with fewer choices? Honestly I find it hard to choose which one to use.
Beta Was this translation helpful? Give feedback.
All reactions