Function: describesEprint()
describesEprint(
value,eprintUri):boolean
Defined in: web/lib/atproto/record-creator.ts:2121
Whether a standard.site document describes a given eprint.
Parameters
value
unknown
The record as stored
eprintUri
string
AT-URI of the eprint
Returns
boolean
True when the document is about that eprint
Remarks
Matches on path, which is where the link now lives, and also on the legacy
content.uri. The legacy branch is not optional: documents written before
this change carry content.uri and no path, and they still need to be
findable so deleting an eprint can clean them up. Dropping it would strand
every document already in a user's repository.