We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(Tested with babashka/fs {:mvn/version "0.4.19"})
babashka/fs {:mvn/version "0.4.19"}
Comment says: Returns parent of f, is it exists. Akin to dirname in bash. (source)
Returns parent of f, is it exists. Akin to dirname in bash.
Except for the typo, "if it exists" is not correct:
"if it exists"
E.g.
(def f (fs/file "a/b/c")) (fs/exists? f) ;=> false (fs/parent (fs/file f)) ;=> (fs/file "a/b") (fs/exists? (fs/parent (fs/file f))) ;=> false
This is consistent with java.io.file behaviour though:
(.getParentFile (java.io.File. "non-existent/dir/foo")) ;=> (java.io.File. "non-existent/dir")
The text was updated successfully, but these errors were encountered:
8c9e048
No branches or pull requests
(Tested with
babashka/fs {:mvn/version "0.4.19"}
)Comment says:
Returns parent of f, is it exists. Akin to dirname in bash.
(source)Except for the typo,
"if it exists"
is not correct:E.g.
This is consistent with java.io.file behaviour though:
The text was updated successfully, but these errors were encountered: