]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/tools/which/which.factor
io.files: exists? -> file-exists? and rename primitive.
[factor.git] / basis / tools / which / which.factor
index 407700221900fdcea5684db20416df8c5d55a831..ee4fdb92f30bdd30254f0542be48be34d2742cb0 100644 (file)
@@ -11,7 +11,7 @@ IN: tools.which
 
 : executable? ( path -- ? )
     {
-        [ exists? ]
+        [ file-exists? ]
         [ file-executable? ]
         [ file-info directory? not ]
     } 1&& ;