go/doc/next/6-stdlib/99-minor/archive/tar/50102.md

304 B

If the argument to FileInfoHeader implements the new FileInfoNames interface, then the interface methods will be used to set the Uname/Gname of the file header. This allows applications to override the system-dependent Uname/Gname lookup.