mirror of
https://github.com/golang/go
synced 2024-11-25 16:07:56 -07:00
n
Change-Id: I56eefb148d613418329a95acc5e09e4f30adac57
This commit is contained in:
parent
7c22bf3f48
commit
a213613c79
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user