expo-tiddlywiki-filesystem-android-external-storage 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -556,9 +556,16 @@ class ExternalStorageModule : Module() {
556
556
 
557
557
  // 1. Parse the git index
558
558
  val indexEntries = parseGitIndex(indexFile)
559
+ android.util.Log.i("GitStatus", "Parsed ${indexEntries.size} entries from git index at $gitRootDir")
560
+ if (indexEntries.size <= 5) {
561
+ indexEntries.forEach { e -> android.util.Log.i("GitStatus", " index: ${e.path} size=${e.size} mtime=${e.mtimeSeconds}") }
562
+ } else {
563
+ indexEntries.take(3).forEach { e -> android.util.Log.i("GitStatus", " index: ${e.path} size=${e.size} mtime=${e.mtimeSeconds}") }
564
+ android.util.Log.i("GitStatus", " ... and ${indexEntries.size - 3} more entries")
565
+ }
559
566
 
560
567
  // 2. Walk the working directory (skip .git, node_modules, etc.)
561
- val skipDirs = setOf(".git", "node_modules", ".DS_Store", "output")
568
+ val skipDirs = setOf(".git", "node_modules", "output")
562
569
  val workdirFiles = mutableSetOf<String>()
563
570
  fun walkDir(dir: File, prefix: String) {
564
571
  val children = dir.listFiles() ?: return
@@ -574,6 +581,10 @@ class ExternalStorageModule : Module() {
574
581
  }
575
582
  }
576
583
  walkDir(root, "")
584
+ android.util.Log.i("GitStatus", "Found ${workdirFiles.size} files on disk")
585
+ // Log files in tiddlers/ dir specifically
586
+ val tiddlerFiles = workdirFiles.filter { it.startsWith("tiddlers/") }
587
+ android.util.Log.i("GitStatus", " tiddlers/ count: ${tiddlerFiles.size}, sample: ${tiddlerFiles.take(5).joinToString()}")
577
588
 
578
589
  // 3. Compare index vs working directory
579
590
  val changes = JSONArray()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-tiddlywiki-filesystem-android-external-storage",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Expo native module for TidGi-Mobile: external storage I/O + TiddlyWiki .tid/.meta/.json batch parsing in Kotlin",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",