listdir_names# barecat.Index.listdir_names(diritem, order=Order.ANY)[source]# List the names of the files and subdirectories in a directory (non-recursively). Parameters: diritem (Union[barecat.core.types.BarecatDirInfo, str]) – Directory info object or path of the directory. order (barecat.core.types.Order) – Order in which to list the files and directories. Returns: A list of file and directory names. Return type: list[str]