]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tldr/tldr.factor
io.files: exists? -> file-exists? and rename primitive.
[factor.git] / extra / tldr / tldr.factor
index 0aa9d897b387cd5de94f92e4d4d5b3612b184f9c..7294e9790730095bcd5eb846a07e12ff4e1edc38 100644 (file)
@@ -31,7 +31,7 @@ CONSTANT: tldr-zip URL" https://tldr-pages.github.io/assets/tldr.zip"
     ] with-directory ;
 
 : ?download-tldr ( -- )
-    "tldr/tldr.zip" cache-file exists? [ download-tldr ] unless ;
+    "tldr/tldr.zip" cache-file file-exists? [ download-tldr ] unless ;
 
 MEMO: tldr-index ( -- index )
     "tldr/index.json" cache-file path>json ;