github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_path.go (about)

     1  // Code generated by 'yaegi extract path'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"path"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["path/path"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"Base":          reflect.ValueOf(path.Base),
    17  		"Clean":         reflect.ValueOf(path.Clean),
    18  		"Dir":           reflect.ValueOf(path.Dir),
    19  		"ErrBadPattern": reflect.ValueOf(&path.ErrBadPattern).Elem(),
    20  		"Ext":           reflect.ValueOf(path.Ext),
    21  		"IsAbs":         reflect.ValueOf(path.IsAbs),
    22  		"Join":          reflect.ValueOf(path.Join),
    23  		"Match":         reflect.ValueOf(path.Match),
    24  		"Split":         reflect.ValueOf(path.Split),
    25  	}
    26  }