mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 23:18:00 +03:00
hark-store: allow scrying for archive
This commit is contained in:
parent
5c148e9c56
commit
6ec8037be8
BIN
package-lock.json
generated
BIN
package-lock.json
generated
Binary file not shown.
@ -109,21 +109,24 @@
|
||||
^- (unit (unit cage))
|
||||
?+ path (on-peek:def path)
|
||||
::
|
||||
[%x %recent @ @ ~]
|
||||
[%x %recent ?(%archive %inbox) @ @ ~]
|
||||
=/ is-archive
|
||||
=(%archive i.t.t.path)
|
||||
=/ offset=@ud
|
||||
(slav %ud i.t.t.path)
|
||||
=/ length=@ud
|
||||
(slav %ud i.t.t.t.path)
|
||||
=/ length=@ud
|
||||
(slav %ud i.t.t.t.t.path)
|
||||
:^ ~ ~ %hark-update
|
||||
!> ^- update:store
|
||||
:- %more
|
||||
%+ turn
|
||||
%+ scag length
|
||||
%+ slag offset
|
||||
(tap-nonempty:ha notifications)
|
||||
%- tap-nonempty:ha
|
||||
?:(is-archive archive notifications)
|
||||
|= [time=@da =timebox:store]
|
||||
^- update:store
|
||||
:^ %timebox time %.n
|
||||
:^ %timebox time is-archive
|
||||
~(tap by timebox)
|
||||
==
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user