func location()

in Sources/XCRemoteCache/Network/URLBuilderImpl.swift [73:84]


    func location(for remote: RemoteCacheFile) throws -> URL {
        switch remote {
        case .artifact(let artifact):
            return address.appendingPathComponents(["file", "\(artifact).zip"])
        case .meta(let commit):
            let filename = "\(commit)-\(targetName)-\(configuration)-\(platform)-\(xcode)-\(envFingerprint)"
            return address.appendingPathComponents(["meta", "\(filename).json"])
        case .marker(let commit):
            let filename = "\(commit)-\(configuration)-\(platform)-\(xcode)-\(schemaVersion)"
            return address.appendingPathComponents(["marker", filename])
        }
    }