So, again, I'm trying to use Clojure to rebuild a PHP site. Right now I
need the Clojure code to read the PHP session files. In the below function,
I have a println that shows me that the path points to a file that really
does exist. And yet this if() clause seems to always return false.
The only modern Clojure methods I'm aware of for checking for the existence
of a file are the Java method (.exists (io/file filename-string)), or using
something like the fs library: https://github.com/Raynes/fs
I'm surprised if the if (io/file path-to-session-fie) always returns false in
your
On Thu, Oct 25, 2012 at 3:21 PM, larry google groups
lawrencecloj...@gmail.com wrote:
I look here and see that the old monolithic Clojure contrib had an exists
function:
http://clojuredocs.org/clojure_contrib/clojure.contrib.java-utils/file
I see this example:
(.