Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for splitPathList (0.17 sec)

  1. src/os/executable_path.go

    	}
    	mode := stat.Mode()
    	if !mode.IsRegular() {
    		return ErrPermission
    	}
    	if (mode & 0111) == 0 {
    		return ErrPermission
    	}
    	return nil
    }
    
    // splitPathList splits a path list.
    // This is based on genSplit from strings/strings.go
    func splitPathList(pathList string) []string {
    	if pathList == "" {
    		return nil
    	}
    	n := 1
    	for i := 0; i < len(pathList); i++ {
    		if pathList[i] == PathListSeparator {
    			n++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/build.go

    	if f := ctxt.JoinPath; f != nil {
    		return f(elem...)
    	}
    	return filepath.Join(elem...)
    }
    
    // splitPathList calls ctxt.SplitPathList (if not nil) or else filepath.SplitList.
    func (ctxt *Context) splitPathList(s string) []string {
    	if f := ctxt.SplitPathList; f != nil {
    		return f(s)
    	}
    	return filepath.SplitList(s)
    }
    
    // isAbsPath calls ctxt.IsAbsPath (if not nil) or else filepath.IsAbs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. src/go/build/build.go

    	if f := ctxt.JoinPath; f != nil {
    		return f(elem...)
    	}
    	return filepath.Join(elem...)
    }
    
    // splitPathList calls ctxt.SplitPathList (if not nil) or else filepath.SplitList.
    func (ctxt *Context) splitPathList(s string) []string {
    	if f := ctxt.SplitPathList; f != nil {
    		return f(s)
    	}
    	return filepath.SplitList(s)
    }
    
    // isAbsPath calls ctxt.IsAbsPath (if not nil) or else filepath.IsAbs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Context.IsDir", Field, 0},
    		{"Context.JoinPath", Field, 0},
    		{"Context.OpenFile", Field, 0},
    		{"Context.ReadDir", Field, 0},
    		{"Context.ReleaseTags", Field, 1},
    		{"Context.SplitPathList", Field, 0},
    		{"Context.ToolTags", Field, 17},
    		{"Context.UseAllFiles", Field, 0},
    		{"Default", Var, 0},
    		{"Directive", Type, 21},
    		{"Directive.Pos", Field, 21},
    		{"Directive.Text", Field, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg go/build, type Context struct, OpenFile func(string) (io.ReadCloser, error)
    pkg go/build, type Context struct, ReadDir func(string) ([]os.FileInfo, error)
    pkg go/build, type Context struct, SplitPathList func(string) []string
    pkg go/build, type Context struct, UseAllFiles bool
    pkg go/build, type ImportMode uint
    pkg go/build, type NoGoError struct
    pkg go/build, type NoGoError struct, Dir string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top