Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isAbsPath (0.25 sec)

  1. src/cmd/go/internal/modindex/build.go

    	if f := ctxt.SplitPathList; f != nil {
    		return f(s)
    	}
    	return filepath.SplitList(s)
    }
    
    // isAbsPath calls ctxt.IsAbsPath (if not nil) or else filepath.IsAbs.
    func (ctxt *Context) isAbsPath(path string) bool {
    	if f := ctxt.IsAbsPath; f != nil {
    		return f(path)
    	}
    	return filepath.IsAbs(path)
    }
    
    // isDir calls ctxt.IsDir (if not nil) or else uses fsys.Stat.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  2. src/go/internal/srcimporter/srcimporter.go

    	// TODO(gri) This should be using p.ctxt.AbsPath which doesn't
    	// exist but probably should. See also issue #14282.
    	return filepath.Abs(path)
    }
    
    func (p *Importer) isAbsPath(path string) bool {
    	if f := p.ctxt.IsAbsPath; f != nil {
    		return f(path)
    	}
    	return filepath.IsAbs(path)
    }
    
    func (p *Importer) joinPath(elem ...string) string {
    	if f := p.ctxt.JoinPath; f != nil {
    		return f(elem...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 18:54:32 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  3. src/go/build/build.go

    	if f := ctxt.SplitPathList; f != nil {
    		return f(s)
    	}
    	return filepath.SplitList(s)
    }
    
    // isAbsPath calls ctxt.IsAbsPath (if not nil) or else filepath.IsAbs.
    func (ctxt *Context) isAbsPath(path string) bool {
    	if f := ctxt.IsAbsPath; f != nil {
    		return f(path)
    	}
    	return filepath.IsAbs(path)
    }
    
    // isDir calls ctxt.IsDir (if not nil) or else uses os.Stat.
    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.GOOS", Field, 0},
    		{"Context.GOPATH", Field, 0},
    		{"Context.GOROOT", Field, 0},
    		{"Context.HasSubdir", Field, 0},
    		{"Context.InstallSuffix", Field, 1},
    		{"Context.IsAbsPath", Field, 0},
    		{"Context.IsDir", Field, 0},
    		{"Context.JoinPath", Field, 0},
    		{"Context.OpenFile", Field, 0},
    		{"Context.ReadDir", Field, 0},
    		{"Context.ReleaseTags", Field, 1},
    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, GOPATH string
    pkg go/build, type Context struct, GOROOT string
    pkg go/build, type Context struct, HasSubdir func(string, string) (string, bool)
    pkg go/build, type Context struct, IsAbsPath func(string) bool
    pkg go/build, type Context struct, IsDir func(string) bool
    pkg go/build, type Context struct, JoinPath func(...string) string
    pkg go/build, type Context struct, OpenFile func(string) (io.ReadCloser, error)
    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