(assert-file-name name)Asserts that name is a single path component that can't refer to a parent or the current directory, and returns it unchanged.
Asserts that name is a single path component that can't refer to a parent or the current directory, and returns it unchanged.
(only-named-xml-files-seq depth name dir)Sequence of named xml files contained within directories in the target dir and subdirectories up to depth.
Sequence of named xml files contained within directories in the target dir and subdirectories up to depth.
(remove-extension file-path)(restrict-matcher target restrict-to-path exact?)Predicate over file path strings for --restrict-to-path.
exact? (see restrict-names-item?) true: only the named item and what is
under it match, so restricting to channel ADT does not also take
ADT Inbound, and group Lab does not take group Lab Archive.
exact? false: the path is a partial name and keeps the original
string-prefix match, so Channels/Default Group/AD still takes every
channel in that group whose name starts with AD. An empty path matches
everything under the target.
restrict-names-item? looks at the disk as well as the candidates, so a
group and its channels agree about what Channels/Lab means.
Predicate over file path strings for --restrict-to-path. exact? (see restrict-names-item?) true: only the named item and what is under it match, so restricting to channel `ADT` does not also take `ADT Inbound`, and group `Lab` does not take group `Lab Archive`. exact? false: the path is a partial name and keeps the original string-prefix match, so `Channels/Default Group/AD` still takes every channel in that group whose name starts with AD. An empty path matches everything under the target. restrict-names-item? looks at the disk as well as the candidates, so a group and its channels agree about what `Channels/Lab` means.
(restrict-names-item? target restrict-to-path candidate-paths)True when --restrict-to-path names an item exactly: one of candidate-paths is that item, or it exists on disk under target as a file, a directory or <path>.xml.
True when --restrict-to-path names an item exactly: one of candidate-paths is that item, or it exists on disk under target as a file, a directory or <path>.xml.
(safe-name name)Asserts that the string param is creatable file that doesn't span paths. Fails with an exception if any issues are detected, otherwise returns the unmodified string (unless there are weird characters as defined in encode-path-chars and encode-windows-chars, a Windows reserved name, or a name too long for shorten-long-name; in which case the string is modified accordingly).
Asserts that the string param is creatable file that doesn't span paths. Fails with an exception if any issues are detected, otherwise returns the unmodified string (unless there are weird characters as defined in encode-path-chars and encode-windows-chars, a Windows reserved name, or a name too long for shorten-long-name; in which case the string is modified accordingly).
(without-named-xml-files-seq depth name dir)Sequence of named xml files contained within directories in the target dir and subdirectories up to depth.
Sequence of named xml files contained within directories in the target dir and subdirectories up to depth.
(xml-file-seq depth dir)Xml file sequence at dir up to depth.
Xml file sequence at dir up to depth.
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 |