Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When would I see include-java-7-fns? #104

Open
lkrubner opened this issue Dec 13, 2016 · 2 comments
Open

When would I see include-java-7-fns? #104

lkrubner opened this issue Dec 13, 2016 · 2 comments

Comments

@lkrubner
Copy link

This is basically the same as my previous question from 2015. But my question here is about include-java-7-fns.

If I have this in my project.clj:

             [me.raynes/fs "1.4.6"]

And in Emacs I go "nrepl-jack-in" and then:

(require '[me.raynes.fs :as fs])
 
(ns-publics 'me.raynes.fs)

I end up with:

{chdir #'me.raynes.fs/chdir

 read-sym-link #'me.raynes.fs/read-sym-link

 absolute? #'me.raynes.fs/absolute?

 find-files #'me.raynes.fs/find-files

 copy-dir #'me.raynes.fs/copy-dir

 temp-file #'me.raynes.fs/temp-file

 with-mutable-cwd #'me.raynes.fs/with-mutable-cwd

 *cwd* #'me.raynes.fs/*cwd*

 temp-name #'me.raynes.fs/temp-name

 iterate-dir #'me.raynes.fs/iterate-dir

 normalized #'me.raynes.fs/normalized

 child-of? #'me.raynes.fs/child-of?

 tmpdir #'me.raynes.fs/tmpdir

 home #'me.raynes.fs/home

 copy #'me.raynes.fs/copy

 ns-path #'me.raynes.fs/ns-path

 temp-dir #'me.raynes.fs/temp-dir

 parent #'me.raynes.fs/parent

 walk #'me.raynes.fs/walk

 mkdir #'me.raynes.fs/mkdir

 exec #'me.raynes.fs/exec

 mkdirs #'me.raynes.fs/mkdirs

 split-ext #'me.raynes.fs/split-ext

 create #'me.raynes.fs/create

 copy-dir-into #'me.raynes.fs/copy-dir-into

 name #'me.raynes.fs/name

 list-dir #'me.raynes.fs/list-dir

 file #'me.raynes.fs/file

 mod-time #'me.raynes.fs/mod-time

 delete #'me.raynes.fs/delete

 executable? #'me.raynes.fs/executable?

 chmod #'me.raynes.fs/chmod

 rename #'me.raynes.fs/rename

 with-cwd #'me.raynes.fs/with-cwd

 unix-root #'me.raynes.fs/unix-root

 find-files* #'me.raynes.fs/find-files*

 absolute #'me.raynes.fs/absolute

 size #'me.raynes.fs/size

 file? #'me.raynes.fs/file?

 link? #'me.raynes.fs/link?

 extension #'me.raynes.fs/extension

 readable? #'me.raynes.fs/readable?

 expand-home #'me.raynes.fs/expand-home

 split #'me.raynes.fs/split

 writeable? #'me.raynes.fs/writeable?

 delete-dir #'me.raynes.fs/delete-dir

 glob #'me.raynes.fs/glob

 exists? #'me.raynes.fs/exists?

 sym-link #'me.raynes.fs/sym-link

 link #'me.raynes.fs/link

 hidden? #'me.raynes.fs/hidden?

 parents #'me.raynes.fs/parents

 touch #'me.raynes.fs/touch

 path-ns #'me.raynes.fs/path-ns

 copy+ #'me.raynes.fs/copy+

 directory? #'me.raynes.fs/directory?

 base-name #'me.raynes.fs/base-name}

So there is no function called "move".

But if I look here I see a function called "move":

(defn move

But I think "move" should appear if my Java version is 7 or more? On my Mac I have:

java -version
java version "1.8.0_25"

Ultimately, I don't need "move" since I can do "copy" and then "delete" but I'd like to understand why "move" doesn't appear for me.

I just got this error, which caused me to look into this:

java.lang.RuntimeException: No such var: fs/move
@Janderio
Copy link

Janderio commented Feb 18, 2020

Usually I do not revive this old postings, but:
I cannot answer the when but the why..
The last release was on 16 Jun 2014 (1.4.6) the move function was commited on 28 Aug 2014. Just saying the current release lacks the move function in code as it was written later.

Raynes commited last time November 2016 to another repository, nothig since then. When him comes back a new release possible would bring this function to us.

(Yes I would like to use the move function too)

Edit: reading other issues as well you will find the reason why him stopped his great work: https://www.reddit.com/r/Clojure/comments/5gyyxw/clojure_open_source_contributor_anthony_grimes/

@jiacai2050
Copy link

jiacai2050 commented Jun 14, 2021

@Janderio So bad news.

I fork this to https://github.com/jiacai2050/fs, deploy to clojars, hopefully fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants