commit | cf56f06ab6d79ab2bf189081482329d22c609952 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Apr 06 15:44:40 2011 -0400 |
committer | Russ Cox <rsc@golang.org> | Wed Apr 06 15:44:40 2011 -0400 |
tree | fc78bfe73d0f1b23cd8846e927ff3b43327c0453 | |
parent | 1e1e2f0971178e2a42a6c186ed3e1274fdf4ab81 [diff] |
os, syscall: refactor Unix directory parsing Moved the details of how to read a directory and how to parse the results behind the new syscall functions ReadDirent and ParseDirent. Now os needs just one copy of Readdirnames for the three Unix variants, and it no longer imports "unsafe". R=r, r2 CC=golang-dev https://golang.org/cl/4368048