]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/http/client/client.factor
io.files: exists? -> file-exists? and rename primitive.
[factor.git] / basis / http / client / client.factor
index 3b8e30642aecf202ea520974eeb0cf475a9056eb..14077dc6239d4e66dc12397da1d85771d80d5ecd 100644 (file)
@@ -283,7 +283,7 @@ PRIVATE>
     ] with-file-writer ;
 
 : ?download-to ( url file -- )
-    dup exists? [ 2drop ] [ download-to ] if ;
+    dup file-exists? [ 2drop ] [ download-to ] if ;
 
 : download ( url -- )
     dup download-name download-to ;