pntprobe.gno
0.36 Kb · 18 lines
1// Package pntprobe checks whether a realm importing the registry's /p/nt
2// libraries goes live.
3package pntprobe
4
5import (
6 "gno.land/p/nt/bptree/v0"
7 "gno.land/p/nt/markdown/sanitize/v0"
8 "gno.land/p/nt/seqid/v0"
9)
10
11var (
12 tree bptree.BPTree
13 last seqid.ID
14)
15
16func Size() int { return tree.Size() }
17
18func Next() string { return sanitize.InlineText(last.String()) }