fs icon indicating copy to clipboard operation
fs copied to clipboard

File system utilities for Clojure.

Results 30 fs issues
Sort by recently updated
recently updated
newest added

On windows, a path of the form "/a/b/c" (or "\a\b\c") is not considered absolute (since it lacks a drive letter), so the file function will prepend the cwd, returning a...

I usually face a problem of incorrect paths or part of paths. To fix this, I use the following workaround: ``` clojure (defn- fix-path [p] (if (not (nil? p)) (if...

https://github.com/Raynes/fs/commit/1b5e18ee9bc83a5bcaaddbf7f9667834b0cf7f87#commitcomment-796025 Blah. This can be fixed, but boy will it be ugly.

normalized-path claims to return a path, but instead returns a File object.

Right now behavior of some functions is inconsistent with others. I made the decision when I took over the project that I would, whenever possible, return File objects instead of...

About this function: (defn walk "Lazily walk depth-first over the directory structure starting at 'path' calling 'func' with three arguments [root dirs files]. Returns a sequence of the results." [func...

Is there a way to concat files? I see file copy, but no append or concat.

I've encountered a case where I'd like to do a breadth-first traversal of a directory structure, and I don't see a way to do this with fs/walk as it currently...

hi, i am on win7 and try to call glob: =>(glob "c:/_") RuntimeException Invalid token: c:/_.\* clojure.lang.Util.runtimeException (Util.java:170) ")\n(glob " # seem to be parsing problem with ">" char by...

The iterate-dir function consumes all available heap and throws an OOME on large directory structures. The following typescript demonstrates this problem in a couple of different ways when the function...