1
0
mirror of https://github.com/golang/go synced 2024-11-25 20:27:57 -07:00
Change-Id: I56eefb148d613418329a95acc5e09e4f30adac57
This commit is contained in:
qiulaidongfeng 2024-03-15 18:34:19 +08:00
parent 7c22bf3f48
commit a213613c79

View File

@ -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.