github.com/goplus/igop@v0.25.0/pkg/archive/tar/go114_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.14,!go1.15 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/ioutil": "ioutil", 26 "math": "math", 27 "os": "os", 28 "os/user": "user", 29 "path": "path", 30 "reflect": "reflect", 31 "runtime": "runtime", 32 "sort": "sort", 33 "strconv": "strconv", 34 "strings": "strings", 35 "sync": "sync", 36 "syscall": "syscall", 37 "time": "time", 38 }, 39 Interfaces: map[string]reflect.Type{}, 40 NamedTypes: map[string]reflect.Type{ 41 "Format": reflect.TypeOf((*q.Format)(nil)).Elem(), 42 "Header": reflect.TypeOf((*q.Header)(nil)).Elem(), 43 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 44 "Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(), 45 }, 46 AliasTypes: map[string]reflect.Type{}, 47 Vars: map[string]reflect.Value{ 48 "ErrFieldTooLong": reflect.ValueOf(&q.ErrFieldTooLong), 49 "ErrHeader": reflect.ValueOf(&q.ErrHeader), 50 "ErrWriteAfterClose": reflect.ValueOf(&q.ErrWriteAfterClose), 51 "ErrWriteTooLong": reflect.ValueOf(&q.ErrWriteTooLong), 52 }, 53 Funcs: map[string]reflect.Value{ 54 "FileInfoHeader": reflect.ValueOf(q.FileInfoHeader), 55 "NewReader": reflect.ValueOf(q.NewReader), 56 "NewWriter": reflect.ValueOf(q.NewWriter), 57 }, 58 TypedConsts: map[string]igop.TypedConst{ 59 "FormatGNU": {reflect.TypeOf(q.FormatGNU), constant.MakeInt64(int64(q.FormatGNU))}, 60 "FormatPAX": {reflect.TypeOf(q.FormatPAX), constant.MakeInt64(int64(q.FormatPAX))}, 61 "FormatUSTAR": {reflect.TypeOf(q.FormatUSTAR), constant.MakeInt64(int64(q.FormatUSTAR))}, 62 "FormatUnknown": {reflect.TypeOf(q.FormatUnknown), constant.MakeInt64(int64(q.FormatUnknown))}, 63 }, 64 UntypedConsts: map[string]igop.UntypedConst{ 65 "TypeBlock": {"untyped rune", constant.MakeInt64(int64(q.TypeBlock))}, 66 "TypeChar": {"untyped rune", constant.MakeInt64(int64(q.TypeChar))}, 67 "TypeCont": {"untyped rune", constant.MakeInt64(int64(q.TypeCont))}, 68 "TypeDir": {"untyped rune", constant.MakeInt64(int64(q.TypeDir))}, 69 "TypeFifo": {"untyped rune", constant.MakeInt64(int64(q.TypeFifo))}, 70 "TypeGNULongLink": {"untyped rune", constant.MakeInt64(int64(q.TypeGNULongLink))}, 71 "TypeGNULongName": {"untyped rune", constant.MakeInt64(int64(q.TypeGNULongName))}, 72 "TypeGNUSparse": {"untyped rune", constant.MakeInt64(int64(q.TypeGNUSparse))}, 73 "TypeLink": {"untyped rune", constant.MakeInt64(int64(q.TypeLink))}, 74 "TypeReg": {"untyped rune", constant.MakeInt64(int64(q.TypeReg))}, 75 "TypeRegA": {"untyped rune", constant.MakeInt64(int64(q.TypeRegA))}, 76 "TypeSymlink": {"untyped rune", constant.MakeInt64(int64(q.TypeSymlink))}, 77 "TypeXGlobalHeader": {"untyped rune", constant.MakeInt64(int64(q.TypeXGlobalHeader))}, 78 "TypeXHeader": {"untyped rune", constant.MakeInt64(int64(q.TypeXHeader))}, 79 }, 80 }) 81 }