src/os/statat_other.go
raw| 1 | // Copyright 2026 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 | package os |
| 8 | |
| 9 | func (f *File) lstatatNolog(name string) (FileInfo, error) { |
| 10 | // These platforms don't have fstatat, so use stat instead. |
| 11 | return Lstat(f.name + "/" + name) |
| 12 | } |