]> gitweb.factorcode.org Git - factor.git/commitdiff
graphviz.render: ?delete-file already exists
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 26 Jan 2023 00:11:17 +0000 (18:11 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 26 Jan 2023 00:41:25 +0000 (18:41 -0600)
extra/graphviz/render/render.factor

index e9e0aac0baa00632d9293ee0e73c867f5fbb54b7..832c96395ac3205e133c3f50692498043a029684 100644 (file)
@@ -71,9 +71,6 @@ M: cannot-find-graphviz-installation summary
     dup [ utf8? ] [ latin1? ] bi or
     [ unsupported-encoding ] unless ;
 
-: ?delete-file ( path -- )
-    dup file-exists? [ delete-file ] [ drop ] if ;
-
 PRIVATE>
 
 :: graphviz ( graph path format layout -- )