Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LSTAT (0.17 sec)

  1. src/cmd/go/internal/load/pkg.go

    		for _, file := range match {
    			// relative path to p.Dir which begins without prefix slash
    			rel := filepath.ToSlash(str.TrimFilePathPrefix(file, pkgdir))
    
    			what := "file"
    			info, err := fsys.Lstat(file)
    			if err != nil {
    				return nil, nil, err
    			}
    			if info.IsDir() {
    				what = "directory"
    			}
    
    			// Check that directories along path do not begin a new module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top