Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasExternalNetwork (0.21 sec)

  1. src/internal/testenv/testenv.go

    func HasSrc() bool {
    	switch runtime.GOOS {
    	case "ios":
    		return false
    	}
    	return true
    }
    
    // HasExternalNetwork reports whether the current system can use
    // external (non-localhost) networks.
    func HasExternalNetwork() bool {
    	return !testing.Short() && runtime.GOOS != "js" && runtime.GOOS != "wasip1"
    }
    
    // MustHaveExternalNetwork checks that the current system can use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top