A Clojure library designed to help with files and folders paths manipulation.
For now, these functions available :
containing-folder
: Returns all but the last element of a pathfile-name
: Returns the last element of a pathcombine
: Combines path segments, takes care of cleaning the slashes in order to get one and only one slash between each segmentfile-extension
: Returns the extension of a file, with the initial dot. If there is no extension, returns nilfile-name-without-extension
: Returns the complete path before the extensionchange-file-name
: Changes the file name, keeping the extensionchange-extension
: Sets a new extension to a file path, if it already has an extension. Otherwise, returns the path as isls
: Returns the contents of a folder (not recursively)Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close