Closed noprompt closed 11 years ago
What is the 'touch bug' that you're talking about?
Touch was returning the fs/file
function instead of the file result.
Doesn't this pull request make fs stop working on Java versions below 7?
Yes. Do we still run Java 6 somewhere?
Does that matter? Clojure supports 1.6, which has a wider install base than 1.7 last I checked, so this breaks fs for over half its users. On Jun 2, 2013 1:28 PM, "Anthony Grimes" notifications@github.com wrote:
Yes. Do we still run Java 6 somewhere?
— Reply to this email directly or view it on GitHubhttps://github.com/Raynes/fs/pull/54#issuecomment-18812137 .
Yes, it matters to me. I don't care very much. Most people probably haven't updated fs in 20 versions, and Java 7 has a ton of stuff that can make fs better.
If @noprompt wants to add code to make his changes only if java.nio exists, then I've got no problem with that.
Makes sense to me, as long as you do it on purpose and note it on the README. On Jun 2, 2013 1:37 PM, "Anthony Grimes" notifications@github.com wrote:
Yes, it matters to me. I don't care very much. Most people probably haven't updated fs in 20 versions, and Java 7 has a ton of stuff that can make fs better.
If @noprompt https://github.com/noprompt wants to add code to make his changes only if java.nio exists, then I've got no problem with that.
— Reply to this email directly or view it on GitHubhttps://github.com/Raynes/fs/pull/54#issuecomment-18812295 .
Agreed. I want to see what @noprompt thinks first, because he may very well have not done this on purpose and I didn't mention it when we were talking last night.
Breaking compatibility for that many users is definitely not something I'd like to do. I can make the patch this evening.
I realize this is a bit of small package but I ended up spotting the
touch
"bug" when I triedand discovered it was returning
#<fs$file me.raynes.fs$file@292f93ae>
while testinghidden?
.I've added
link
andsym-link
for creating "hard" and "soft" links as well as alink?
function which partly closes #48. I say partly because I think the person was also asking iffs/walk
could have the option to (not) follow links but I think that's a separate issue.