             case let .success(headLength, headCached):
                 let tail = items[(items.startIndex + 1)..<items.endIndex]
                 guard let headLength = headLength else {
-                    callback(.success(nil, headCached + [Cached](repeating: false, count: items.count - 1)))
+                    callback(.success(nil, headCached + [IsCached](repeating: false, count: items.count - 1)))
                     break
                 }
                 

                }
            }
        } else {
            download([Cached](repeating: false, count: items.count))
        }
    }
    

    }
    
    private enum ContentLengthResult {
        case success(Int64?, [IsCached])
        case canceled
        case failure(Error)
    }
