exists#

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

Check if a file or directory exists in the archive.

Parameters:

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

Returns:

True if and only if a file or directory exists with the given path.

Return type:

bool