Filesystem helpers shared by the shell namespaces. Effects on files live here so the cache and the compiler bootstrap reuse one implementation.
Filesystem helpers shared by the shell namespaces. Effects on files live here so the cache and the compiler bootstrap reuse one implementation.
(absolute-path? s)True for a path that is absolute on any host: a POSIX leading / or a
Windows drive letter (C://C:\). Does not defer to the host's
java.io.File absolute rule, which calls POSIX /opt/x relative on
Windows.
True for a path that is absolute on any host: a POSIX leading `/` or a Windows drive letter (`C:/`/`C:\`). Does not defer to the host's `java.io.File` absolute rule, which calls POSIX `/opt/x` relative on Windows.
(delete-recursively! file)Delete file, removing a directory's contents before the directory
itself. A missing file is a no-op. A symbolic link is deleted directly,
never followed: isDirectory follows links, so descending a symlink to
a directory would delete the target's tree. The link itself is what the
caller asked to remove.
Delete `file`, removing a directory's contents before the directory itself. A missing file is a no-op. A symbolic link is deleted directly, never followed: `isDirectory` follows links, so descending a symlink to a directory would delete the target's tree. The link itself is what the caller asked to remove.
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 |