2020-08-28 07:14:47 +03:00
|
|
|
/- spider
|
|
|
|
/+ strandio
|
|
|
|
=, strand=strand:spider
|
|
|
|
^- thread:spider
|
|
|
|
|= arg=vase
|
|
|
|
=/ m (strand ,vase)
|
|
|
|
^- form:m
|
|
|
|
|^
|
2020-12-02 01:38:02 +03:00
|
|
|
=+ !<([~ =a=path =b=path] arg)
|
2020-08-28 07:14:47 +03:00
|
|
|
=/ a-mark=mark -:(flop a-path)
|
|
|
|
=/ b-mark=mark -:(flop b-path)
|
|
|
|
?. =(a-mark b-mark)
|
|
|
|
(strand-fail:strandio %files-not-same-type ~)
|
|
|
|
=/ a-beam (need (de-beam:format a-path))
|
|
|
|
;< =a=cage bind:m (get-file a-path)
|
|
|
|
;< =b=cage bind:m (get-file b-path)
|
|
|
|
;< =dais:clay bind:m (build-mark:strandio -.a-beam a-mark)
|
|
|
|
(pure:m (~(diff dais q.a-cage) q.b-cage))
|
|
|
|
::
|
|
|
|
++ get-file
|
|
|
|
|= =path
|
|
|
|
=/ m (strand ,cage)
|
|
|
|
^- form:m
|
|
|
|
=/ beam (need (de-beam:format path))
|
|
|
|
;< =riot:clay bind:m
|
2020-11-24 04:20:36 +03:00
|
|
|
(warp:strandio p.beam q.beam ~ %sing %x r.beam s.beam)
|
2020-08-28 07:14:47 +03:00
|
|
|
?~ riot
|
|
|
|
(strand-fail:strandio %file-not-found >path< ~)
|
|
|
|
(pure:m r.u.riot)
|
|
|
|
--
|