github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/go/internal/modload/stat_openfile.go (about) 1 // Copyright 2019 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 (js && wasm) || plan9 6 7 // On plan9, per http://9p.io/magic/man2html/2/access: “Since file permissions 8 // are checked by the server and group information is not known to the client, 9 // access must open the file to check permissions.” 10 // 11 // js,wasm is similar, in that it does not define syscall.Access. 12 13 package modload