(last-dir-in-path {collection-ao :collectionAO} path)
Returns the name of the last directory in 'path'.
Please note that this function works by calling getCollectionLastPathComponent on a Collection instance and therefore hits iRODS every time you call it. Don't call this from within a loop.
Parameters: cm - The iRODS context map path - String containing the path for an item in iRODS.
Returns: String containing the name of the last directory in the path.
Returns the name of the last directory in 'path'. Please note that this function works by calling getCollectionLastPathComponent on a Collection instance and therefore hits iRODS every time you call it. Don't call this from within a loop. Parameters: cm - The iRODS context map path - String containing the path for an item in iRODS. Returns: String containing the name of the last directory in the path.
(list-dir cm
user
coll-path
&
{:keys [include-files include-subdirs]
:or {include-files false include-subdirs true}})
(sub-collection-paths cm path)
Returns a sequence of string containing the paths for directories that live under 'path' in iRODS.
Parameters: cm - The iRODS context map path - String containing the path to a directory in iRODS.
Returns: Sequence containing the paths for directories that live under 'path'.
Returns a sequence of string containing the paths for directories that live under 'path' in iRODS. Parameters: cm - The iRODS context map path - String containing the path to a directory in iRODS. Returns: Sequence containing the paths for directories that live under 'path'.
(sub-collections {lister :lister} path)
Returns a sequence of Collections that reside directly in the directory refered to by 'path'.
Parameters: cm - The iRODS context map path - String containing the path to a directory in iRODS.
Returns: Sequence containing Collections (the Jargon kind) representing directories that reside under the directory represented by 'path'.
Returns a sequence of Collections that reside directly in the directory refered to by 'path'. Parameters: cm - The iRODS context map path - String containing the path to a directory in iRODS. Returns: Sequence containing Collections (the Jargon kind) representing directories that reside under the directory represented by 'path'.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close