mirror of https://github.com/golang/go.git
parent
7c22bf3f48
commit
a213613c79
|
|
@ -736,7 +736,7 @@ func FileInfoHeader(fi fs.FileInfo, link string) (*Header, error) {
|
||||||
|
|
||||||
// FileInfoNames extends [fs.FileInfo].
|
// FileInfoNames extends [fs.FileInfo].
|
||||||
// Passing an instance of this to [FileInfoHeader] permits the caller
|
// Passing an instance of this to [FileInfoHeader] permits the caller
|
||||||
// to avoid asystem-dependent name lookup by specifying the Uname and Gname directly.
|
// to avoid a system-dependent name lookup by specifying the Uname and Gname directly.
|
||||||
type FileInfoNames interface {
|
type FileInfoNames interface {
|
||||||
fs.FileInfo
|
fs.FileInfo
|
||||||
// Uname should give a user name.
|
// Uname should give a user name.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue