зеркало из https://github.com/CryptoPro/go.git
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:
Родитель
8998835543
Коммит
6ba77ecb6a
|
@ -1505,8 +1505,8 @@ methods.
|
|||
The system-specific details of file modes and properties such as (on Unix)
|
||||
i-number have been removed from <code>FileInfo</code> altogether.
|
||||
Instead, each operating system's <code>os</code> package provides an
|
||||
implementation of the <code>FileInfo</code> interface, <code>*os.FileStat</code>,
|
||||
which has a <code>Sys</code> method that returns the
|
||||
implementation of the <code>FileInfo</code> interface, which
|
||||
has a <code>Sys</code> 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 <code>FileInfo</code> like this:
|
||||
|
|
|
@ -1408,8 +1408,8 @@ methods.
|
|||
The system-specific details of file modes and properties such as (on Unix)
|
||||
i-number have been removed from <code>FileInfo</code> altogether.
|
||||
Instead, each operating system's <code>os</code> package provides an
|
||||
implementation of the <code>FileInfo</code> interface, <code>*os.FileStat</code>,
|
||||
which has a <code>Sys</code> method that returns the
|
||||
implementation of the <code>FileInfo</code> interface, which
|
||||
has a <code>Sys</code> 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 <code>FileInfo</code> like this:
|
||||
|
|
Загрузка…
Ссылка в новой задаче