isfile#

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

Check if a file exists in the index.

Parameters:

path (str) – Path of the file. It is normalized before the check.

Returns:

True if a file with the given path exists, False otherwise.

Return type:

bool