mirror of
https://github.com/golang/go
synced 2024-11-21 21:34:40 -07:00
doc/go1: delete obsolete reference to FileStat
Fixes #3013. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5683049
This commit is contained in:
parent
8998835543
commit
6ba77ecb6a
@ -1505,8 +1505,8 @@ methods.
|
|||||||
The system-specific details of file modes and properties such as (on Unix)
|
The system-specific details of file modes and properties such as (on Unix)
|
||||||
i-number have been removed from <code>FileInfo</code> altogether.
|
i-number have been removed from <code>FileInfo</code> altogether.
|
||||||
Instead, each operating system's <code>os</code> package provides an
|
Instead, each operating system's <code>os</code> package provides an
|
||||||
implementation of the <code>FileInfo</code> interface, <code>*os.FileStat</code>,
|
implementation of the <code>FileInfo</code> interface, which
|
||||||
which has a <code>Sys</code> method that returns the
|
has a <code>Sys</code> method that returns the
|
||||||
system-specific representation of file metadata.
|
system-specific representation of file metadata.
|
||||||
For instance, to discover the i-number of a file on a Unix system, unpack
|
For instance, to discover the i-number of a file on a Unix system, unpack
|
||||||
the <code>FileInfo</code> like this:
|
the <code>FileInfo</code> like this:
|
||||||
|
@ -1408,8 +1408,8 @@ methods.
|
|||||||
The system-specific details of file modes and properties such as (on Unix)
|
The system-specific details of file modes and properties such as (on Unix)
|
||||||
i-number have been removed from <code>FileInfo</code> altogether.
|
i-number have been removed from <code>FileInfo</code> altogether.
|
||||||
Instead, each operating system's <code>os</code> package provides an
|
Instead, each operating system's <code>os</code> package provides an
|
||||||
implementation of the <code>FileInfo</code> interface, <code>*os.FileStat</code>,
|
implementation of the <code>FileInfo</code> interface, which
|
||||||
which has a <code>Sys</code> method that returns the
|
has a <code>Sys</code> method that returns the
|
||||||
system-specific representation of file metadata.
|
system-specific representation of file metadata.
|
||||||
For instance, to discover the i-number of a file on a Unix system, unpack
|
For instance, to discover the i-number of a file on a Unix system, unpack
|
||||||
the <code>FileInfo</code> like this:
|
the <code>FileInfo</code> like this:
|
||||||
|
Loading…
Reference in New Issue
Block a user