zen-fs-config 0.5.26 → 0.5.27
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/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/dist/zen-fs-config.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1700,9 +1700,13 @@ var ConfigRepo = class {
|
|
|
1700
1700
|
if (!vPath) return;
|
|
1701
1701
|
try {
|
|
1702
1702
|
const existing = await readVersion(this.fullFS, vPath);
|
|
1703
|
-
if (existing && existing.hash === version.hash)
|
|
1703
|
+
if (existing && existing.hash === version.hash) {
|
|
1704
|
+
log2.log("[ConfigRepo] skip version sidecar (hash unchanged):", vPath);
|
|
1705
|
+
return;
|
|
1706
|
+
}
|
|
1704
1707
|
} catch {
|
|
1705
1708
|
}
|
|
1709
|
+
log2.log("[ConfigRepo] write version sidecar:", vPath, "v" + version.version);
|
|
1706
1710
|
await this.ensureDir(vPath);
|
|
1707
1711
|
await writeVersion(this.fullFS, vPath, version);
|
|
1708
1712
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1306,9 +1306,13 @@ var ConfigRepo = class {
|
|
|
1306
1306
|
if (!vPath) return;
|
|
1307
1307
|
try {
|
|
1308
1308
|
const existing = await readVersion(this.fullFS, vPath);
|
|
1309
|
-
if (existing && existing.hash === version.hash)
|
|
1309
|
+
if (existing && existing.hash === version.hash) {
|
|
1310
|
+
log2.log("[ConfigRepo] skip version sidecar (hash unchanged):", vPath);
|
|
1311
|
+
return;
|
|
1312
|
+
}
|
|
1310
1313
|
} catch {
|
|
1311
1314
|
}
|
|
1315
|
+
log2.log("[ConfigRepo] write version sidecar:", vPath, "v" + version.version);
|
|
1312
1316
|
await this.ensureDir(vPath);
|
|
1313
1317
|
await writeVersion(this.fullFS, vPath, version);
|
|
1314
1318
|
}
|
package/dist/zen-fs-config.js
CHANGED
|
@@ -27577,9 +27577,13 @@ var ZenFSConfig = (() => {
|
|
|
27577
27577
|
if (!vPath) return;
|
|
27578
27578
|
try {
|
|
27579
27579
|
const existing = await readVersion(this.fullFS, vPath);
|
|
27580
|
-
if (existing && existing.hash === version2.hash)
|
|
27580
|
+
if (existing && existing.hash === version2.hash) {
|
|
27581
|
+
log6.log("[ConfigRepo] skip version sidecar (hash unchanged):", vPath);
|
|
27582
|
+
return;
|
|
27583
|
+
}
|
|
27581
27584
|
} catch {
|
|
27582
27585
|
}
|
|
27586
|
+
log6.log("[ConfigRepo] write version sidecar:", vPath, "v" + version2.version);
|
|
27583
27587
|
await this.ensureDir(vPath);
|
|
27584
27588
|
await writeVersion(this.fullFS, vPath, version2);
|
|
27585
27589
|
}
|