@threadbase-sh/scanner 0.8.2 → 0.8.4
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.
- package/dist/cli.js +6 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1302,7 +1302,10 @@ function classify(filePath, existing) {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
return { change: "unchanged", stat: stat3 };
|
|
1304
1304
|
}
|
|
1305
|
-
|
|
1305
|
+
if (existing.content_fingerprint && existing.size_bytes === existing.last_indexed_offset && fingerprint(filePath, existing.last_indexed_offset) === existing.content_fingerprint) {
|
|
1306
|
+
return { change: "appended", stat: stat3 };
|
|
1307
|
+
}
|
|
1308
|
+
return { change: "reindex", stat: stat3 };
|
|
1306
1309
|
}
|
|
1307
1310
|
|
|
1308
1311
|
// src/providers/parse.ts
|
|
@@ -2728,7 +2731,7 @@ var ConversationScanner = class {
|
|
|
2728
2731
|
this.lastTier.name,
|
|
2729
2732
|
void 0,
|
|
2730
2733
|
readGitBranch,
|
|
2731
|
-
|
|
2734
|
+
false,
|
|
2732
2735
|
provider
|
|
2733
2736
|
);
|
|
2734
2737
|
evict2(meta2);
|