mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +08:00
Add useful debug statement
This commit is contained in:
@ -8,6 +8,7 @@ import 'package:path/path.dart';
|
|||||||
import 'package:synchronized/synchronized.dart';
|
import 'package:synchronized/synchronized.dart';
|
||||||
|
|
||||||
import 'package:gitjournal/settings.dart';
|
import 'package:gitjournal/settings.dart';
|
||||||
|
import 'package:gitjournal/utils/logger.dart';
|
||||||
import 'note.dart';
|
import 'note.dart';
|
||||||
import 'notes_folder.dart';
|
import 'notes_folder.dart';
|
||||||
import 'notes_folder_notifier.dart';
|
import 'notes_folder_notifier.dart';
|
||||||
@ -200,6 +201,7 @@ class NotesFolderFS with NotesFolderNotifier implements NotesFolder {
|
|||||||
Future<void> _load() async {
|
Future<void> _load() async {
|
||||||
var ignoreFilePath = p.join(folderPath, ".gjignore");
|
var ignoreFilePath = p.join(folderPath, ".gjignore");
|
||||||
if (File(ignoreFilePath).existsSync()) {
|
if (File(ignoreFilePath).existsSync()) {
|
||||||
|
Log.i("Ignoring $folderPath as it has .gjignore");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Set<String> pathsFound = {};
|
Set<String> pathsFound = {};
|
||||||
|
Reference in New Issue
Block a user