prepareNameMigakuFormat function

Future<String> prepareNameMigakuFormat(
  1. PrepareDirectoryParams params
)

Top-level function for use in compute. See DictionaryFormat for details.

Implementation

Future<String> prepareNameMigakuFormat(PrepareDirectoryParams params) async {
  File originalFile = params.file;
  return path.basenameWithoutExtension(originalFile.path);
}