1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:14:41 -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].
// 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 {
fs.FileInfo
// Uname should give a user name.