mafintosh: totally not sure if this is a good way to solve this :D
feels a bit hackish in the control flow
mafintosh
juliangruber: ok, i'll take a look
juliangruber: do you have any ideas on how to make it non-hackish?
juliangruber
mafintosh: the changes to storage.js are where i'm to must unsure
mafintosh: also i wasn't sure if `start`is always the correct argument to pass as the offset
mafintosh: it also feels weird that storage#open reads the buf for you although in this case you don't need it, you just need to create the file object
mafintosh
juliangruber: good points
juliangruber: i'm gonna refactor all the storage crap into a new module
i think thats the best way to approach it
juliangruber: do you wanna take a stab at an abstract-storage module perhaps?
so we don't have to assume all these methods might not exist
juliangruber
mafintosh: gotcha, will do :)
dat-gitter-bot has quit
dat-gitter-bot joined the channel
mafintosh: are we both now going to write abstract storage modules? :P
oh i guess yours is like a multi-storage
mafintosh: what would be a good name? abstract-storage? or rather something like abstract-random-access? also , how will this be different from abstract-chunk-store?
questions over questions
mafintosh
juliangruber: abstract-random-access sounds good to me. diff is variable chunk sizes
and yea mine is a multi storage thing :)
juliangruber
ah, true
ok
mafintosh
the abstract one should just make sure to call ._open before any other methods
and provide stubs for the other methods
lie abstract-leveldown
juliangruber
yea
mafintosh
brb, finding breakfest
juliangruber
mafintosh: abstract-chunk-store doesn't have an index.js?