isOpen static method
Returns if an open store (i.e. opened before and not yet closed) was found
for the given directoryPath
(or if null the defaultDirectoryPath).
Implementation
static bool isOpen(String? directoryPath) {
final path = _safeDirectoryPath(directoryPath);
final cStr = path.toNativeUtf8();
try {
return C.store_is_open(cStr.cast());
} finally {
malloc.free(cStr);
}
}