For a list of breaking changes, check here.
Babashka fs: file system utility library for Clojure
fs/glob docs that it supports a :max-depth option (@teodorlu)read-link to resolve symbolic link, without target of link needing to existunzip to take a java.io.InputStreamfs/copy-tree: fix copying read-only directories with children (@sohalt):posix-file-permissions options (@teodorlu)fs/delete-tree: add :force flag to delete read-only directories/files. Set the flag to true in fs/with-temp-dir (@jlesquembre)gzip and gunzip functionsfs/glob: enable :hidden (when not already set) when pattern starts with dot (@eval).fs/match and fs/glob not finding files in root-folder (@eval).fs/copyxdg-*-home to get subfolder of base directory (@eval)which: add :paths opt, allow absolute paths for program (@lread):root and :path-fn options to fs/zipwalk-file-tree from throwing to continue-ing, which
works better for glob, match. You can still throw by providing your own
visit-file-failed function.strip-ext and split-extunixify: returns path as string with Unix-style file separators (/) on Windows systems.write-bytes and write-linesupdate-file:win-exts option on which function (@lread)exists? should never throw on illegal input path.^:const to not cache OS-specific constants, so AOT-ed code can be
re-used in multiple OS-es.cwdSupport glob patterns on Windows with forward slashes
#51: Update which function to more closely mimic unix which:
windows? predicatecom.google.cloud/google-cloud-nio: convert
URI to Path directly without going through URLcreate-temp-filezipread-attributes* without conversion into mapcreate-dirs for the dest directory in copy-tree to ensure it exists (@duzunov)list-dir glob-or-accept argument (@holyjak)with-temp-dir macro #37 (@hugoduncan)fs/home and fs/expand-home #12 #13 (@Kineolyan)which on Windows: take into account .com, .exe, .bat., .cmd
when searching for programfs/match #32unzip: entry in dir can come before dir in zip entries #35strip-ext and change split-ext and strip-ext to return full paths #29 (@corasaurus-hex)unzipmove #25delete-tree must not crash when tree doesn't exist (making it idempotent)modified-sincecopy #24copy-treecreate-link and split-paths (@eamonnsullivan)split-ext and extension (@kiramclean)regular-file?(@tekacs)Initial release.
None yet.
Can you improve this documentation? These fine people already did:
Michiel Borkent, Gert Goet, Teodor Heggelund, Lee Read, Szabó Krisztián, ikappaki, Sohalt, José Luis Lafuente & BobEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |