File naming and manipulation commands that supplement the fs library (fsplus).
File naming and manipulation commands that supplement the fs library (fsplus).
(abspath f)
Produce a normalized file path, expanding home directories.
Produce a normalized file path, expanding home directories.
(add-file-part fname part)
(add-file-part fname part out-dir)
(add-file-part fname part out-dir new-ext)
Add file extender: base.txt -> base-part.txt
Add file extender: base.txt -> base-part.txt
(file-root fname)
(file-root fname out-dir)
Retrieve file name without extension: /path/to/fname.txt -> /path/to/fname
Retrieve file name without extension: /path/to/fname.txt -> /path/to/fname
(pog-reader f)
Plain or gzip input reader.
Plain or gzip input reader.
(remove-file-part fname part)
Remove file specialization extender: base-part.txt -> base.txt
Remove file specialization extender: base-part.txt -> base.txt
(remove-path x)
Remove file or directory only if it exists.
Remove file or directory only if it exists.
(remove-zip-ext fname)
Remove any zip extensions from the input filename
Remove any zip extensions from the input filename
(safe-mkdir d)
Make a directory, returning the created directory name.
Make a directory, returning the created directory name.
(split-ext+ f)
Split extension, grouping zipped extensions with rest of file
Split extension, grouping zipped extensions with rest of file
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close