Avoid importing dart_git's Result class

It's easier to see where all dart_git is used this way, and this result
class should be refactored into its own package anyway.
This commit is contained in:
Vishesh Handa
2022-01-22 10:06:24 +01:00
parent b85a42340d
commit 901e4b5cb9
16 changed files with 24 additions and 16 deletions

View File

@ -6,7 +6,6 @@
import 'dart:math';
import 'package:dart_git/utils/result.dart';
import 'package:path/path.dart' as p;
import 'package:shared_preferences/shared_preferences.dart';
import 'package:test/test.dart';
@ -19,6 +18,7 @@ import 'package:gitjournal/core/folder/notes_folder_fs.dart';
import 'package:gitjournal/core/folder/sorted_notes_folder.dart';
import 'package:gitjournal/core/folder/sorting_mode.dart';
import 'package:gitjournal/core/note_storage.dart';
import 'package:gitjournal/utils/result.dart';
void main() {
group('Sorted Notes Folder Test', () {