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