Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isAbsPath (0.12 sec)

  1. 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)
Back to top