Merge e1bf7e1843 into release/next-userspace

This commit is contained in:
janeway-bot 2021-05-19 22:51:43 +04:00 committed by GitHub
commit 40b1ec453b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,5 @@
:: graph-store [landscape]
::
::
/+ store=graph-store, sigs=signatures, res=resource, default-agent, dbug, verb
~% %graph-store-top ..part ~
|%

View File

@ -33,7 +33,7 @@
++ grab
|%
++ noun
|= p=*
|: p=`*`%*(. *indexed-post index.p [0 ~])
=/ ip ;;(indexed-post p)
?> ?=([@ ~] index.p.ip)
ip

View File

@ -49,7 +49,7 @@
++ grab
|%
++ noun
|= p=*
|: p=`*`%*(. *indexed-post index.p [0 0 ~])
=/ ip ;;(indexed-post p)
?+ index.p.ip ~|(index+index.p.ip !!)
:: top-level link post; title and url

View File

@ -43,7 +43,7 @@
:: +noun: validate post
::
++ noun
|= p=*
|: p=`*`%*(. *indexed-post contents.p [%text '']~)
=/ ip ;;(indexed-post p)
?> ?=(^ contents.p.ip)
ip

View File

@ -58,7 +58,7 @@
:: +noun: validate publish note
::
++ noun
|= p=*
|: p=`*`%*(. *indexed-post index.p [0 ~])
=/ ip ;;(indexed-post p)
?+ index.p.ip !!
:: top level post must have no content