fixup! diigo-cache: RSS in diigo's export shape, from cached items

Docs per the docs-files-api skill: a 1–2 line @file; what a declaration is or does in JSDoc on it, not in // comments or the file header.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-10-07 09:34:06 -05:00
1 parent 38d9ed4122
commit 76b9ed1494
2 files changed
+5 -11

No files matched your search

+4 -6
View File
@@ -1,10 +1,5 @@
#!/usr/bin/env node
/**
* @file program script: does a cache hold everything in a diigo RSS
* export? See {@link main}.
*
* node scripts/compare-export.ts <cache.sqlite> <export.xml> <out-dir>
*/
/** @file program script: does a cache hold everything in a diigo RSS export? See {@link main}. */
import * as nodeFs from "node:fs/promises";
import { basename, join } from "node:path";
import { DatabaseSync } from "node:sqlite";
@@ -107,6 +102,9 @@ export function outDir(fs: Pick<typeof nodeFs, "writeFile">, dir: string) {
/**
* Generates RSS from a cache's items (src/rss.ts) and compares it with a
* diigo RSS export: title, tags, description, highlights + sticky notes.
*
* node scripts/compare-export.ts <cache.sqlite> <export.xml> <out-dir>
*
* Prints counts to stdout; writes <out-dir>/from-cache.rss and
* <out-dir>/report.json (mismatched links, by category).
*
+1 -5
View File
@@ -1,8 +1,4 @@
/**
* @file cached diigo items as RSS 2.0, in the shape of diigo's RSS export
* (`Tags:…;Description:…;Annotations and Sticky notes:…`), but well-formed
* and with titles uncut. Pure: the caller supplies the dates.
*/
/** @file cached diigo items as RSS 2.0, in the shape of diigo's RSS export. */
import type { Item } from "./items.js";