__contains__#

barecat.Index.__contains__(path)[source]#

Check if a file exists in the index.

Parameters:

path (str) – Path of the file.

Returns:

True if the file exists, False otherwise.

Return type:

bool