mirror of
https://github.com/golang/go
synced 2024-11-13 20:00:23 -07:00
a4ede9f9a6
ReadDir provides a portable, efficient way to read a directory and discover the type of directory entries. This enables a more efficient file system walk, yet to be added. See #41467 for the proposal review for the API. Fixes #41467. Change-Id: I461a526793ae46df48821aa448b04f1705546739 Reviewed-on: https://go-review.googlesource.com/c/go/+/261540 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Rob Pike <r@golang.org>
10 lines
268 B
Go
10 lines
268 B
Go
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
//
|
|
// +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm
|
|
|
|
package os
|
|
|
|
const isBigEndian = false
|