github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_archive_tar.go (about) 1 // Code generated by 'yaegi extract archive/tar'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "archive/tar" 9 "go/constant" 10 "go/token" 11 "reflect" 12 ) 13 14 func init() { 15 Symbols["archive/tar/tar"] = map[string]reflect.Value{ 16 // function, constant and variable definitions 17 "ErrFieldTooLong": reflect.ValueOf(&tar.ErrFieldTooLong).Elem(), 18 "ErrHeader": reflect.ValueOf(&tar.ErrHeader).Elem(), 19 "ErrWriteAfterClose": reflect.ValueOf(&tar.ErrWriteAfterClose).Elem(), 20 "ErrWriteTooLong": reflect.ValueOf(&tar.ErrWriteTooLong).Elem(), 21 "FileInfoHeader": reflect.ValueOf(tar.FileInfoHeader), 22 "FormatGNU": reflect.ValueOf(tar.FormatGNU), 23 "FormatPAX": reflect.ValueOf(tar.FormatPAX), 24 "FormatUSTAR": reflect.ValueOf(tar.FormatUSTAR), 25 "FormatUnknown": reflect.ValueOf(tar.FormatUnknown), 26 "NewReader": reflect.ValueOf(tar.NewReader), 27 "NewWriter": reflect.ValueOf(tar.NewWriter), 28 "TypeBlock": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), 29 "TypeChar": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), 30 "TypeCont": reflect.ValueOf(constant.MakeFromLiteral("55", token.INT, 0)), 31 "TypeDir": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), 32 "TypeFifo": reflect.ValueOf(constant.MakeFromLiteral("54", token.INT, 0)), 33 "TypeGNULongLink": reflect.ValueOf(constant.MakeFromLiteral("75", token.INT, 0)), 34 "TypeGNULongName": reflect.ValueOf(constant.MakeFromLiteral("76", token.INT, 0)), 35 "TypeGNUSparse": reflect.ValueOf(constant.MakeFromLiteral("83", token.INT, 0)), 36 "TypeLink": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), 37 "TypeReg": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), 38 "TypeRegA": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), 39 "TypeSymlink": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), 40 "TypeXGlobalHeader": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), 41 "TypeXHeader": reflect.ValueOf(constant.MakeFromLiteral("120", token.INT, 0)), 42 43 // type definitions 44 "Format": reflect.ValueOf((*tar.Format)(nil)), 45 "Header": reflect.ValueOf((*tar.Header)(nil)), 46 "Reader": reflect.ValueOf((*tar.Reader)(nil)), 47 "Writer": reflect.ValueOf((*tar.Writer)(nil)), 48 } 49 }