urbit/pkg/arvo/ted/glob.hoon

14 lines
325 B
Plaintext
Raw Normal View History

/- spider, glob
/+ strandio
=, strand=strand:spider
^- thread:spider
|= arg=vase
=/ m (strand ,vase)
^- form:m
=+ !<([~ hash=@uv] arg)
=/ url "https://bootstrap.urbit.org/glob-{(scow %uv hash)}.glob"
;< =cord bind:m (fetch-cord:strandio url)
2021-05-19 01:12:39 +03:00
~| failed-glob+hash
=+ ;;(=glob:glob (cue cord))
(pure:m !>(glob))