-
Notifications
You must be signed in to change notification settings - Fork 725
backends/daemon: Allow for backend to determine its data/cache dirs #800
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
Conversation
The meat of this will be implemented in the Windows and Mac platforms. |
a477e60
to
23adb9a
Compare
Codecov Report
@@ Coverage Diff @@
## master #800 +/- ##
=========================================
+ Coverage 68.69% 68.7% +<.01%
=========================================
Files 177 177
Lines 6273 6275 +2
=========================================
+ Hits 4309 4311 +2
Misses 1964 1964
Continue to review full report at Codecov.
|
Doesn't this complicate things a bit too much? Couldn't the platform+backend just return a string for the daemon to do with as it pleases? |
I thought about the approach you suggest, and I thought that approach is at least as complicated as this approach. However, thinking about it some more, it might be better to implement this in each backend's factory. I'll look into that. |
23adb9a
to
e673fa3
Compare
I updated this to have the backend's factory be the keeper of the data/cache directories. |
e673fa3
to
013434f
Compare
Ok, updated again:) |
bors r+ |
800: backends/daemon: Allow for backend to determine its data/cache dirs r=Saviq a=townsend2010 Fixes #774 Co-authored-by: Chris Townsend <[email protected]>
Build failed |
800: backends/daemon: Allow for backend to determine its data/cache dirs r=Saviq a=townsend2010 Fixes #774 Co-authored-by: Chris Townsend <[email protected]>
800: backends/daemon: Allow for backend to determine its data/cache dirs r=Saviq a=townsend2010 Fixes #774 Co-authored-by: Chris Townsend <[email protected]>
800: backends/daemon: Allow for backend to determine its data/cache dirs r=Saviq a=townsend2010 Fixes #774 Co-authored-by: Chris Townsend <[email protected]>
Fixes #774