Directory Methods
allContents
/**
* @directory The directory
* @filter A string wildcard or a lambda/closure that receives the file path and should return true to include it in the returned array or not.
* @sort Columns by which to sort. e.g. Directory, Size DESC, DateLastModified.
* @type Filter the result to only include files, directories, or both. ('file|files', 'dir|directory', 'all'). Default is 'all'
* @absolute Local provider only: We return relative disk paths by default. If true, we return absolute paths
*
* @throws cbfs.DirectoryNotFoundException
*/
array function allContents(
required directory,
any filter,
sort,
type = "all",
boolean absolute = false
);allContentsMap
allDirectories
allFiles
allFilesMap
buildDiskPath
cleanDirectory
contents
contentsMap
copyDirectory
createDirectory
deleteDirectory
directories
directoryExists
directoryMissing
files
filesMap
isDirectory
moveDirectory
Last updated
Was this helpful?