mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-21 11:17:44 +08:00

full diff: https://github.com/moby/go-archive/compare/21f3f3385ab7...v0.1.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
13 lines
237 B
Go
13 lines
237 B
Go
package tarheader
|
|
|
|
import (
|
|
"archive/tar"
|
|
"os"
|
|
)
|
|
|
|
// sysStat populates hdr from system-dependent fields of fi without performing
|
|
// any OS lookups. It is a no-op on Windows.
|
|
func sysStat(os.FileInfo, *tar.Header) error {
|
|
return nil
|
|
}
|