Black Lives Matter. Support the Equal Justice Initiative.

Source file src/internal/testenv/testenv_notwin.go

Documentation: internal/testenv

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !windows
     6  // +build !windows
     7  
     8  package testenv
     9  
    10  import (
    11  	"runtime"
    12  )
    13  
    14  func hasSymlink() (ok bool, reason string) {
    15  	switch runtime.GOOS {
    16  	case "android", "plan9":
    17  		return false, ""
    18  	}
    19  
    20  	return true, ""
    21  }
    22  

View as plain text