github.com/goplus/igop@v0.25.0/pkg/archive/tar/go116_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package tar 6 7 import ( 8 q "archive/tar" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "tar", 19 Path: "archive/tar", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "errors": "errors", 23 "fmt": "fmt", 24 "io": "io", 25 "io/fs": "fs", 26 "math": "math", 27 "os/user": "user", 28 "path": "path", 29 "reflect": "reflect", 30 "runtime": "runtime", 31 "sort": "sort", 32 "strconv": "strconv", 33 "strings": "strings", 34 "sync": "sync", 35 "syscall": "syscall", 36 "time": "time", 37 }, 38 Interfaces: map[string]reflect.Type{}, 39 NamedTypes: map[string]reflect.Type{ 40 "Format": reflect.TypeOf((*q.Format)(nil)).Elem(), 41 "Header": reflect.TypeOf((*q.Header)(nil)).Elem(), 42 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 43 "Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(), 44 }, 45 AliasTypes: map[string]reflect.Type{}, 46 Vars: map[string]reflect.Value{ 47 "ErrFieldTooLong": reflect.ValueOf(&q.ErrFieldTooLong), 48 "ErrHeader": reflect.ValueOf(&q.ErrHeader), 49 "ErrWriteAfterClose": reflect.ValueOf(&q.ErrWriteAfterClose), 50 "ErrWriteTooLong": reflect.ValueOf(&q.ErrWriteTooLong), 51 }, 52 Funcs: map[string]reflect.Value{ 53 "FileInfoHeader": reflect.ValueOf(q.FileInfoHeader), 54 "NewReader": reflect.ValueOf(q.NewReader), 55 "NewWriter": reflect.ValueOf(q.NewWriter), 56 }, 57 TypedConsts: map[string]igop.TypedConst{ 58 "FormatGNU": {reflect.TypeOf(q.FormatGNU), constant.MakeInt64(int64(q.FormatGNU))}, 59 "FormatPAX": {reflect.TypeOf(q.FormatPAX), constant.MakeInt64(int64(q.FormatPAX))}, 60 "FormatUSTAR": {reflect.TypeOf(q.FormatUSTAR), constant.MakeInt64(int64(q.FormatUSTAR))}, 61 "FormatUnknown": {reflect.TypeOf(q.FormatUnknown), constant.MakeInt64(int64(q.FormatUnknown))}, 62 }, 63 UntypedConsts: map[string]igop.UntypedConst{ 64 "TypeBlock": {"untyped rune", constant.MakeInt64(int64(q.TypeBlock))}, 65 "TypeChar": {"untyped rune", constant.MakeInt64(int64(q.TypeChar))}, 66 "TypeCont": {"untyped rune", constant.MakeInt64(int64(q.TypeCont))}, 67 "TypeDir": {"untyped rune", constant.MakeInt64(int64(q.TypeDir))}, 68 "TypeFifo": {"untyped rune", constant.MakeInt64(int64(q.TypeFifo))}, 69 "TypeGNULongLink": {"untyped rune", constant.MakeInt64(int64(q.TypeGNULongLink))}, 70 "TypeGNULongName": {"untyped rune", constant.MakeInt64(int64(q.TypeGNULongName))}, 71 "TypeGNUSparse": {"untyped rune", constant.MakeInt64(int64(q.TypeGNUSparse))}, 72 "TypeLink": {"untyped rune", constant.MakeInt64(int64(q.TypeLink))}, 73 "TypeReg": {"untyped rune", constant.MakeInt64(int64(q.TypeReg))}, 74 "TypeRegA": {"untyped rune", constant.MakeInt64(int64(q.TypeRegA))}, 75 "TypeSymlink": {"untyped rune", constant.MakeInt64(int64(q.TypeSymlink))}, 76 "TypeXGlobalHeader": {"untyped rune", constant.MakeInt64(int64(q.TypeXGlobalHeader))}, 77 "TypeXHeader": {"untyped rune", constant.MakeInt64(int64(q.TypeXHeader))}, 78 }, 79 }) 80 }