func (deduper Deduper) IsDuplicate(filePath string) (bool, error) {
	isPresent, err := deduper.fileIndex.IsFilePresent(filePath)
	if err != nil {
		return false, err
	}
	return isPresent, nil
}
// IsDuplicate determines whether the specified file is a duplicate.
IsDuplicate determines whether the specified file is a duplicate.
// IsDuplicate determines whether the specified file is a duplicate .
func (deduper Deduper) IsDuplicate(filePath string) (bool, error) {
	isPresent, err := deduper.fileIndex.IsFilePresent(filePath)
	if err != nil {
		return false, err
	}
	return isPresent, nil
}
func ( deduper Deduper ) IsDuplicate ( filePath string ) ( bool , error ) { isPresent , err := deduper . fileIndex . IsFilePresent ( filePath ) if err != nil { return false , err } return isPresent , nil }
IsDuplicate determines whether the specified file is a duplicate.
IsDuplicate determines whether the specified file is a duplicate .