github.com/evanw/esbuild/internal/fs.goFilepath.cwd (field)
12 uses
github.com/evanw/esbuild/internal/fs (current package)
filepath.go#L45: cwd string
filepath.go#L105: return fp.join([]string{fp.cwd, path}), nil
fs_real.go#L73: fp.cwd = options.AbsWorkingDir
fs_real.go#L74: if fp.cwd == "" {
fs_real.go#L76: fp.cwd = cwd
fs_real.go#L78: fp.cwd = "C:\\"
fs_real.go#L80: fp.cwd = "/"
fs_real.go#L82: } else if !fp.isAbs(fp.cwd) {
fs_real.go#L83: return nil, fmt.Errorf("The working directory %q is not an absolute path", fp.cwd)
fs_real.go#L100: if path, err := fp.evalSymlinks(fp.cwd); err == nil {
fs_real.go#L101: fp.cwd = path
fs_real.go#L275: return fs.fp.cwd
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |