05nelsonm / kmp-tor

Kotlin Multiplatform Library for embedding Tor into your applications
Apache License 2.0
33 stars 5 forks source link

`TorRuntime.Environment.Builder` should check both `work` and `cache` directories #441

Closed 05nelsonm closed 1 month ago

05nelsonm commented 1 month ago

Current functionality is to return the same instance of Environment in the event one has already been created for the provided workDirectory, but no checks are performed on cacheDirectory. If either of these directories have been declared in another Environment instance, that instance should be returned.