listdir#

barecat._api.Barecat.listdir(path)[source]#

List all files and directories in a directory.

Parameters:

path (str) – Path to the directory within the archive.

Returns:

List of all files and directories contained in the directory path.

Return type:

list[str]