Skip to content

Commit

Permalink
Add back slow import toggle option
Browse files Browse the repository at this point in the history
  • Loading branch information
arianneorpilla committed Mar 28, 2023
1 parent 43385c6 commit b6e6030
Show file tree
Hide file tree
Showing 7 changed files with 243 additions and 122 deletions.
4 changes: 4 additions & 0 deletions yuuna/lib/src/dictionary/dictionary_operations_params.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class PrepareDictionaryParams extends IsolateParams {
required this.dictionary,
required this.dictionaryFormat,
required this.workingDirectory,
required this.useSlowImport,
required super.sendPort,
});

Expand All @@ -69,6 +70,9 @@ class PrepareDictionaryParams extends IsolateParams {

/// A working directory from which to extract dictionary data from.
final Directory workingDirectory;

/// Whether or not to use ACID-compliant importing.
final bool useSlowImport;
}

/// For isolate communication purposes. Used for dictionary deletion.
Expand Down
Loading

0 comments on commit b6e6030

Please sign in to comment.