github.com/goplus/igop@v0.17.0/pkg/path/filepath/go120_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.20 4 // +build go1.20 5 6 package filepath 7 8 import ( 9 q "path/filepath" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "filepath", 20 Path: "path/filepath", 21 Deps: map[string]string{ 22 "errors": "errors", 23 "io/fs": "fs", 24 "os": "os", 25 "runtime": "runtime", 26 "sort": "sort", 27 "strings": "strings", 28 "syscall": "syscall", 29 "unicode/utf8": "utf8", 30 }, 31 Interfaces: map[string]reflect.Type{}, 32 NamedTypes: map[string]reflect.Type{ 33 "WalkFunc": reflect.TypeOf((*q.WalkFunc)(nil)).Elem(), 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{ 37 "ErrBadPattern": reflect.ValueOf(&q.ErrBadPattern), 38 "SkipAll": reflect.ValueOf(&q.SkipAll), 39 "SkipDir": reflect.ValueOf(&q.SkipDir), 40 }, 41 Funcs: map[string]reflect.Value{ 42 "Abs": reflect.ValueOf(q.Abs), 43 "Base": reflect.ValueOf(q.Base), 44 "Clean": reflect.ValueOf(q.Clean), 45 "Dir": reflect.ValueOf(q.Dir), 46 "EvalSymlinks": reflect.ValueOf(q.EvalSymlinks), 47 "Ext": reflect.ValueOf(q.Ext), 48 "FromSlash": reflect.ValueOf(q.FromSlash), 49 "Glob": reflect.ValueOf(q.Glob), 50 "HasPrefix": reflect.ValueOf(q.HasPrefix), 51 "IsAbs": reflect.ValueOf(q.IsAbs), 52 "IsLocal": reflect.ValueOf(q.IsLocal), 53 "Join": reflect.ValueOf(q.Join), 54 "Match": reflect.ValueOf(q.Match), 55 "Rel": reflect.ValueOf(q.Rel), 56 "Split": reflect.ValueOf(q.Split), 57 "SplitList": reflect.ValueOf(q.SplitList), 58 "ToSlash": reflect.ValueOf(q.ToSlash), 59 "VolumeName": reflect.ValueOf(q.VolumeName), 60 "Walk": reflect.ValueOf(q.Walk), 61 "WalkDir": reflect.ValueOf(q.WalkDir), 62 }, 63 TypedConsts: map[string]igop.TypedConst{}, 64 UntypedConsts: map[string]igop.UntypedConst{ 65 "ListSeparator": {"untyped rune", constant.MakeInt64(int64(q.ListSeparator))}, 66 "Separator": {"untyped rune", constant.MakeInt64(int64(q.Separator))}, 67 }, 68 }) 69 }