Parse a Hashtree reference without fetching anything.
nhash…, hashtree:nhash…, <hash>[:<key>], htree://…, or npub…/tree/path.
nhash…
hashtree:nhash…
<hash>[:<key>]
htree://…
npub…/tree/path
The parsed reference, or null when malformed.
null
parseHashtreeRef(MOCK_HASHTREE_ROOT_HASH)?.kind === 'cid'; Copy
parseHashtreeRef(MOCK_HASHTREE_ROOT_HASH)?.kind === 'cid';
Parse a Hashtree reference without fetching anything.