github.com/go-git/gcfg/token.File.infos (field)
9 uses
github.com/go-git/gcfg/token (current package)
position.go#L101: infos []lineInfo
position.go#L203: if i := len(f.infos); i == 0 || f.infos[i-1].Offset < offset && offset < f.size {
position.go#L204: f.infos = append(f.infos, lineInfo{offset, filename, line})
position.go#L249: if len(f.infos) > 0 {
position.go#L251: if i := searchLineInfos(f.infos, offset); i >= 0 {
position.go#L252: alt := &f.infos[i]
serialize.go#L50: files[i] = serializedFile{f.name, f.base, f.size, f.lines, f.infos}
![]() |
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. |