From 6ba77ecb6ac2c3dcfee089c6c3e65c6fdc5f69ae Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 21 Feb 2012 08:03:03 +1100 Subject: [PATCH] doc/go1: delete obsolete reference to FileStat Fixes #3013. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5683049 --- doc/go1.html | 4 ++-- doc/go1.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/go1.html b/doc/go1.html index f7a33c4038c..53b338b8659 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -1505,8 +1505,8 @@ methods. The system-specific details of file modes and properties such as (on Unix) i-number have been removed from FileInfo altogether. Instead, each operating system's os package provides an -implementation of the FileInfo interface, *os.FileStat, -which has a Sys method that returns the +implementation of the FileInfo interface, which +has a Sys method that returns the system-specific representation of file metadata. For instance, to discover the i-number of a file on a Unix system, unpack the FileInfo like this: diff --git a/doc/go1.tmpl b/doc/go1.tmpl index f9744123258..b487c009af7 100644 --- a/doc/go1.tmpl +++ b/doc/go1.tmpl @@ -1408,8 +1408,8 @@ methods. The system-specific details of file modes and properties such as (on Unix) i-number have been removed from FileInfo altogether. Instead, each operating system's os package provides an -implementation of the FileInfo interface, *os.FileStat, -which has a Sys method that returns the +implementation of the FileInfo interface, which +has a Sys method that returns the system-specific representation of file metadata. For instance, to discover the i-number of a file on a Unix system, unpack the FileInfo like this: