diff options
author | Russ Cox <rsc@golang.org> | 2009-08-12 13:18:37 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-08-12 13:18:37 -0700 |
commit | fc30062047876ed5e09983e0314265811973d2d3 (patch) | |
tree | fb8ce575f8d1f4edc0212dfd8848524f459c64d5 /src/pkg/os/file.go | |
parent | b1b3e70a5e9acb46914588167a43eea1bba7a529 (diff) | |
download | golang-fc30062047876ed5e09983e0314265811973d2d3.tar.gz |
convert low-level (used by testing) packages to
whole-package compilation. new Makefiles,
tests now in separate package
bytes
flag
fmt
io
math
once
os
reflect
strconv
sync
time
utf8
delete import "xxx" in package xxx.
inside package xxx, xxx is not declared
anymore so s/xxx.//g
delete file and package level forward declarations.
note the new internal_test.go and sync
and strconv to provide public access to
internals during testing. the installed version
of the package omits that file and thus does
not open the internals to all clients.
R=r
OCL=33065
CL=33097
Diffstat (limited to 'src/pkg/os/file.go')
-rw-r--r-- | src/pkg/os/file.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pkg/os/file.go b/src/pkg/os/file.go index b2b456429..958a8230c 100644 --- a/src/pkg/os/file.go +++ b/src/pkg/os/file.go @@ -7,7 +7,6 @@ package os import ( - "os"; "syscall"; ) @@ -257,13 +256,6 @@ func Lstat(name string) (dir *Dir, err Error) { return dirFromStat(name, new(Dir), &stat, &stat), nil } -// Readdirnames reads the contents of the directory associated with file and -// returns an array of up to count names, in directory order. Subsequent -// calls on the same file will yield further names. -// A negative count means to read until EOF. -// Readdirnames returns the array and an Error, if any. -func (file *File) Readdirnames(count int) (names []string, err Error) - // Readdir reads the contents of the directory associated with file and // returns an array of up to count Dir structures, as would be returned // by Stat, in directory order. Subsequent calls on the same file will yield further Dirs. |