__contains__#

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

Check if a file with the given path exists in the archive.

Directories are ignored in this check.

Parameters:

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

Returns:

True if the file exists, False otherwise.

Return type:

bool