Where is swift/stdlib/public/Darwin/Network/NWPath.swift?

I'm looking for swift/stdlib/public/Darwin/Network/NWPath.swift... it appeared in some blobs and sources but it's gone from master?

I see it in swift-master-next.. The source is from 2018. I don't understand why it's not in master

Appeared here for example: https://github.com/apple/swift/blob/baf2e4e6f6d8b5f18db33debef9424b130dcf97e/stdlib/public/Darwin/Network/NWPath.swift

The Network overlay’s functionality has been merged into the original framework and hence removed from the standard library.

Can you elaborate on "original framework". Where do I locate that?

It’s a private Apple framework: https://developer.apple.com/documentation/network

For more information, see this pull request:

1 Like

Ah makes sense. I was thinking that. Thank you.

Terms of Service

Privacy Policy

Cookie Policy