path/filepath.lazybuf.w (field)
19 uses
path/filepath (current package)
path.go#L29: w int
path.go#L43: if b.w < len(b.path) && b.path[b.w] == c {
path.go#L44: b.w++
path.go#L48: copy(b.buf, b.path[:b.w])
path.go#L50: b.buf[b.w] = c
path.go#L51: b.w++
path.go#L56: return b.volAndPath[:b.volLen+b.w]
path.go#L58: return b.volAndPath[:b.volLen] + string(b.buf[:b.w])
path.go#L127: case out.w > dotdot:
path.go#L129: out.w--
path.go#L130: for out.w > dotdot && !os.IsPathSeparator(out.index(out.w)) {
path.go#L131: out.w--
path.go#L135: if out.w > 0 {
path.go#L140: dotdot = out.w
path.go#L145: if rooted && out.w != 1 || !rooted && out.w != 0 {
path.go#L156: if out.w == 0 {
![]() |
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. |