I've simply installed path_provider and prefixed the box path with a temporary directory so that it will not cause any FileSystemException when attempting to write a box in a ReadOnly directory.
What problem is this fixing?
Hive.boxOpen when provided a path is attempting to write in that path, if the directory is read-only it will trigger an exception.
Describe your change
I've simply installed
path_provider
and prefixed the box path with a temporary directory so that it will not cause any FileSystemException when attempting to write a box in a ReadOnly directory.What problem is this fixing?
Hive.boxOpen
when provided a path is attempting to write in that path, if the directory is read-only it will trigger an exception.