mirror of
https://github.com/golang/go
synced 2024-11-26 01:57:56 -07:00
add doc
Change-Id: Ie1b9a0d3778d2a5af685e2e6d389366ea47cb748
This commit is contained in:
parent
b71a199021
commit
951f17d682
9
api/next/50102.txt
Normal file
9
api/next/50102.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, Gname() (string, error) #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, Name() string #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, Size() int64 #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102
|
||||||
|
pkg archive/tar, type FileInfoNames interface, Uname() (string, error) #50102
|
1
doc/next/archive/tar/50102.md
Normal file
1
doc/next/archive/tar/50102.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
If the argument to <a href="/pkg/archive/tar#FileInfoHeader"><code>FileInfoHeader</code></a> implements the new <a href="/pkg/archive/tar#FileInfoNames"><code>FileInfoNames</code></a> interface, then the interface methods will be used to set the Uname/Gname of the file header. This allows applications to override the default Uname/Gname resolution.
|
Loading…
Reference in New Issue
Block a user