Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to set working directory #137

Open
jockm opened this issue Apr 16, 2018 · 2 comments
Open

Need a way to set working directory #137

jockm opened this issue Apr 16, 2018 · 2 comments

Comments

@jockm
Copy link

jockm commented Apr 16, 2018

Right now it appears that IonDB assumes that when opening a file it is at the root of the filesystem. This may not always be the case. There are any number of reasons why one might like a database placed in a specific folder.

For example, in my case I am using IonDB on a ARM microcontroller using the mBed RTOS. mBed uses mountable filesystems. In my case I have a SPI Flash based LittleFileSystem mounted at /ifs (and the SD card, if there is one, at /sd), so I need to make sure that all databases are created at /ifs if not lower in the directory structure.

I am happy to tackle this, but would appreciate some guidance as to the "IonDB-way" approach

@rlawrenc
Copy link
Collaborator

Hello. Thanks for wanting to be involved. Details on how to develop/contribute to the project are here: https://github.com/iondbproject/iondb/wiki

@jockm
Copy link
Author

jockm commented Oct 16, 2018

I should have been more clear, I had read the wiki. I was looking for some suggestion on the api level for the most ionDB way to do that. For example refactoring all the calls to take a full path and not just a name, a set working directory call, etc

I want to make a pull request that has the greatest chance of being accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants