Closed ralphtheninja closed 10 years ago
I think the header file should keep the interface definitions because i want to add command-line options to reuse the functions; for instance, lev --ls
.
For reuse, ldb.cc should also keep the defs and struct with its command aliases.
the linenoise loop should definitely be moved to repl.cc, but probably just this -- https://github.com/hij1nx/ldb/blob/master/ldb.cc#L71-L136
otherwise this looks good
Perhaps we can take a look at it today or tomorrow. Probably much easier :)
oh! are you in germany?? if so, email me!
Not yet. Will be there around 6-7pm or so.
Scrapping this PR. Creating new one later.
I should be done now and can start hacking on new functionality.