]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/help/html/html.factor
io.files: exists? -> file-exists? and rename primitive.
[factor.git] / basis / help / html / html.factor
index c18e91025aabfea4cd681ba4b06b0a229acf825b..c9e6981e068747bc1016976440f0db6c201531e7 100644 (file)
@@ -145,7 +145,7 @@ M: pathname url-of
     "@2x" over subseq? [ "." split1-last "@2x." glue ] unless ;
 
 : ?copy-file ( from to -- )
-    dup exists? [ 2drop ] [ copy-file ] if ;
+    dup file-exists? [ 2drop ] [ copy-file ] if ;
 
 : cache-images ( body -- body' )
     dup [